num-var = SPF_Trace(mode-num)


Operands:

mode-num

Mode may be ON, OFF or ERROR. When ON, a debugging window will appear that shows a trace record for every SPFLite function called, including the parameters it was passed, its RC and any message text generated. When ERROR, the debugging information will be recorded only when an SPFLite function is called that does not return an RC of 0.


Returns:


RC will be set 8 if you supply an invalid mode-num operand, otherwise RC will be 0.


Special Notes:


The SPF_Trace call is itself always traced, regardless of the old or new trace mode in effect.


Created with the Personal Edition of HelpNDoc: Make Documentation a Breeze with HelpNDoc's Clean and Efficient User Interface