Edit

SysLog (text)

Return type:  none

Definition:  Writes the text to the log file (preceded by a date/time stamp). Useful for debugging scripts. Note that MoneyWorks also sometimes writes things (error messages, typically) to the log file. On Mac, log file output is also copied to the system.log.

You can easily show the log file by clicking the Log File icon in the Script Editor toolbar.

The parameter passed to syslog will be type-converted to text. You can even pass an associative array to log all elements of the array.

See Also:

TypeOf: Get the type enumeration of a value or variable

_NTDump: Get a textual dump of identifiers and values from the MoneyWorks nametable