4. System Classes : ProcExec Class : Trace Method
 
Share this page                  
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 = varchar(2000))
This method has the following parameter:
text
Specifies the message to print. The message can be any expression that evaluates to a varchar string. You must cast numeric or date variables to varchar and enclose string literals in single quotes.
The Trace method automatically appends a newline character to the end of the message.