MONITOR

Purpose:

Invokes the command and message monitor.

Syntax:

MONITOR("logfile")

"logfile"

-

Optional. A string, the name of the logfile to save messages. Defaults to "logfile.txt".

Returns:

Nothing, the command and message monitor is activated.

Example:

monitor

W1: rand(10)

W2: integ(w1)

 

The monitor is displayed. Status line messages are echoed in the monitor's message area and also written to the logfile "logfile.txt" in the DADiSP document folder. Commands can be invoked in the monitor's command prompt and resulting values are displayed in the monitor.

Remarks:

The monitor is convenient for keeping track of status line messages. These messages are preserved in the monitor's scrollable list. The messages are also written to the logfile.

 

The default logfile name is "logfile.txt" and is saved in the DADiSP documents folder, e.g.

 

\Documents and Settings\username\My Documents\DADiSP\logfile.txt

 

where username resolves to the login name of the current user.

 

Set "logfie" to "" (empty string) to prevent the creation and writing of messages to a logfile.

 

Series resulting from commands issued in the monitor are displayed as a text table.

See Also:

DEBUG

VIEWFILE