DumpValue (open)

Print any type to an output for debugging

Syntax

// Core function, no LOADLIB necessary

MACRO DumpValue(VARIANT data, VARIANT options)

Parameters

VARIANT data

Variable to show (record, object, etc)

VARIANT options

Output form (currently "boxed", "html", "csv", "tree", "tree:", "htmltree", "htmltree:"), or record with options

INTEGER callerlevel

How far to look back in the stacktrace to get linenumber information

STRING format

Formatting to use ("boxed", "html", "csv", "tree", "tree:", "htmltree", "htmltree:")

STRING name

Function name to use in header. Set to empty string for no header

INTEGER outputid

Output device to write the data to, eg 2 for stderr