ZZWRITE and ZWRITE
ZZWRITE, like ZWRITE, displays non-printing characters and encoded data such as InterSystems IRIS lists, bitstrings, and %Status strings in a human-readable format. It does not execute control characters. Both commands provide an extensive display of object reference (oref) values, consisting of the oref value followed by the same “general information”, “attribute values”, and (where appropriate) “swizzled references” and “calculated references” returned by the %SYSTEM.OBJ.Dump()Opens in a new tab method.
ZZWRITE displays the same data values as ZWRITE with an argument, with the following differences:
-
Variable Names: ZZWRITE displays the value of every expression or variable as %val=value. ZWRITE displays local, process-private, and global variables as varname=value, and literals, expressions, and special variables as value.
-
Undefined Variables: ZZWRITE issues an <UNDEFINED> error for an undefined variable. ZWRITE ignores undefined variables.
-
Subscripts: ZZWRITE displays the value of the specified subscript node. ZWRITE displays the subscript node and all defined subnodes in subscript tree order.
-
Extended Global Reference: ZZWRITE displays the value of an extended global reference as %val=value (like any other expression), giving no indication that the value is defined in another namespace. ZWRITE displays an extended global reference variable name showing the namespace that contains the global.
For further details on how various data values are displayed, refer to ZWRITE.
For tables comparing ZZWRITE with the WRITE, ZWRITE, and ZZDUMP commands, refer to the Display (Write) Commands features tables in the “Commands” chapter of Using ObjectScript.