File Name
Syntax
DBLangReplaceTerms ( VAL SourceStr: STRING, VAL ReplaceVars: List Of STRING ): STRING
Parameters
SourceStr - string with place markers for other strings that need to be replaced
ReplaceVars - replacement strings
Returns
Replaced string is returned
Side Effects
None
Description
Common function used to replace terms in message error reporting.
Dialog Forms Called
None
File Name
Syntax
ReportError( VAL MessageWindow: Window, VAL PopUpType: Integer, VAL CurrentFunction: String, VAL OutputString: String )
Parameters
MessageWindow - message window to display error in. This may be $Unknown which will cause the output to go to the log file only.
PopUpType - type of error message to display. Expected values are $PopUpTypeAlways, $PopUpTypeDefault and $PopUpTypeNever.
CurrentFunction - function reporting error
OutputString - error to report
Returns
None
Side Effects
ErrorCount: Integer -- Global Error count (incremented)
Description
Formats output and displays to message window.
Dialog Forms Called
None
File Name
Syntax
WriteMessage( VAL MessageWindow: Window , VAL MessageType: Integer , VAL OutputString: String )
Parameters
MessageWindow - message window to display message. Value may be $Unkown, which will cause output to be to the logfile only. If $Desktop all messages will be done as pop up message boxes.
MessageType - type of message to output. Expected values are $MsgTypeNormal, $MsgTypeStatus, $MsgTypeCMDStatus, $MsgTypeNotify, $MsgTypeWarning, $MsgTypeError. $MsgTypeErrorPopUp is used to force a PopUp error mesage and $MsgTypeErrorLogOnly is used to suppress message window display while writing the message to the log file.
OutputString - message to be output
Returns
None
Side Effects
None
Description
Outputs a message to the log file or message window. MessageType is used to control output methods.
Dialog Forms Called
None