PrintRecordArrayTo (open)
Show the records of a record array
Syntax
// Core function, no LOADLIB necessary
MACRO PrintRecordArrayTo(INTEGER outputdevice, RECORD ARRAY recarr, STRING format)Parameters
INTEGER outputdeviceOutput to send the record array to (0 = default)
RECORD ARRAY recarrRecord array to show
STRING formatOutput form (currently "boxed", "html", "csv", "tree", "htmltree" )
Description
PrintRecordArrayTo prints all cells of all records in a record array. The printout can be formatted in either boxed (ASCII) or HTML format.
Examples
// Show the cells of all records in a record array
RECORD ARRAY ra := SELECT * FROM files WHERE parent = 1;
PrintRecordArrayTo(0, ra,"boxed");