Command Reference : Command Reference
  
 
logmsg
Adds a line of text to the program log.
Syntax
logmsg(options) text
Options
 
name=arg
Name of the message log where messages will be added.
filename=arg
Name of the message log where messages will be stored.
Example
logmsg About to iterate through list of states
appends the text “About to iterate through list of states” to the program log with name PROGRAM_NAME.
logmsg(name="firstrun") Exiting list iteration
appends the text "Exiting list iteration" on the program log with name FIRSTRUN.
logmsg(filename="c:\myfile.txt") Restarting list iteration
appends the text "Restarting list iteration" on the program log with name FIRSTRUN. It also stores the message in the file c:\myfile.txt.
Cross-references
See “Program Message Logging” for details.
See also logclear, logmode, logclose, and logsave.