Overview
 
The log commands (such as LogMsg)send text to the log file,which is typically used to record non-critical information.If you have a critical message (such as a serious error),you should use the Stop command.
 
LogDb
 
Format LogDb v1 [v2 v3 v4...]
Purpose Same as LogMsg,but separates the fields with vertical bars
Parameters Same as LogMsg
Similar Cmds OutRuler
You can use the LogDb (“Log Debug ”)command while developing or fixing a script.The vertical bars let you see if the variables have spaces on either side.Once your script is working properly,you can do a quick search for “LogDb ” to see if you left behind any debug lines.
 
LogMsg
 
Format LogMsg v1 [v2 v3 ...]
Purpose LogMsg 'Invalid value 'CustNum 'in customer number field'
Parameters Sends a message to the log file
Similar Cmds v1 -Value to send to the log file
v2 -Value (any number of values can be appended)
 
LogMsgLF
 
Format LogMsgLF
Purpose Sends a blank line to the log file.The blank line is ignored
if there is already a blank line at that position.By using
LogMsgLF instead of LogMsg(''),you can ensure that the log
file does not contain multiple blank lines in a row.
 
ShowNote
 
Format ShowNote v1 [v2 v3 v4...]
Example ShowNote 'Processing database'
Purpose Displays an informational message on the user interface window
Parameters v1 -The informational message
v2 -Value (any number of values can be appended)
Notes To remove the message,set it to null:ShowNote ''
 

(This page is part of the online user manual for Parse-O-Matic.  Parse-O-Matic is a programmable parsing tool that can extract, manipulate, convert or mine existing data sources and turn them into importable data.  For more information on Parse-O-Matic products and conversion services, please visit www.ParseOMatic.com)