PrintRecordTo (open)

Show the contents of a single record

Syntax

// Core function, no LOADLIB necessary

MACRO PrintRecordTo(INTEGER outputdevice, RECORD rec, STRING format)

Parameters

INTEGER outputdevice

Output to send the record to (0 = default)

RECORD rec

Record to show

STRING format

Output format (currently "boxed" or "html")

Description

PrintRecordTo prints all cells of a record to an output device. The printout can be formatted in either boxed (ASCII) or HTML format

Examples

// Show the cells of a file-record in the Publisher module
PrintRecordTo(0, ourfile,"boxed");