11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

NotesNaked IndicatorWhen both destination and source are local variables, the naked indicator is not changed. Ifsource is a global variable and destination is a local variable, then the naked indicator referencessource.When both source and destination are global variables, the naked indicator is unchanged ifsource is undefined ($DATA(source)=0). In all other cases (including $DATA(source)=10),the naked indicator takes the same value that it would have if the SET command replacedthe MERGE command and source had a value. For more details on the naked indicator, seeNaked Global <strong>Reference</strong> in Using <strong>Caché</strong> Multi-Dimensional Storage.Merge to SelfWhen the destination and source are the same variable, no merge occurs. Nothing is recordedin the journal file. However, the naked indicator may be changed, based on the rules describedin the previous section.WatchpointsThe MERGE command supports watchpoints. If a watchpoint is in effect, <strong>Caché</strong> triggersthat watchpoint whenever that MERGE alters the value of a watched variable. To setwatchpoints, use the ZBREAK command.See Also• ZBREAK command• Debugging chapter in Using <strong>Caché</strong> <strong>ObjectScript</strong>• Global Structure chapter in Using <strong>Caché</strong> Multi-Dimensional StorageMERGE<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 93

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!