num-var = SPF_Debug(msg-str [,msg-str] ...)


Operands:

msg-str

the text string you wish displayed. When multiple strings are provided as operands, they will be concatenated together with a single blank between the operands.


Returns:


Always RC = 0 and Msg$ = "" (null)


Special Notes:


During macro development, the SPF_Debug statement can be used to display information related to the macro execution. This can be simple trace messages, or displays of internal variables.


Examples:


SPF_DEBUG ("Starting line loop")

SPF_DEBUG ("Var_b=" & TSTR$(Var_b))


The SPF_DEBUG statement will open a console window in which to display the information.


Created with the Personal Edition of HelpNDoc: Don't be left in the past: convert your WinHelp HLP help files to CHM with HelpNDoc