Trace Method
The Trace method writes a message to the OpenROAD Trace window and/or the OpenROAD log file (%II_SYSTEM%\ingres\files\w4gl.log), depending upon the platform and the setting of the -T flag on the command line. For a description of the -T flag, see the Workbench User Guide.
This method has the following syntax:
ProcExec.Trace(text = nvarchar(2000) | string = StringObject)
This method has the following parameters:
text
Specifies the message to print. The message can be any expression that evaluates to an nvarchar string. You must cast numeric or date variables to varchar and enclose string literals in single quotes.
string
Specifies the string to print.
The Trace method automatically appends a newline character to the end of the message.