Defining Sculptor program debug messagesΒΆ
dbgmsg() |
Define a Sculptor program debug message |
SYNTAX
dbgmsg(text)
This function is for use with the dbgmsg program, which displays user-defined debug messages in a scrollable table.
It appends the message defined in text as a record to the Sculptor keyed file $SCULPTOR/debug/dbgmsg.
The program calling the function must have been compiled with the line:
!compat enable_debug = integer
where integer is non-zero.
EXAMPLE
ProgName = "stkctrl"
....
dbgmsg(ProgName / " - " + \\
"PSearch function - unexpected empty element in Part array at line " + tostr(PALine))
RELATED TOPICS |