ViewDemo

DESCRIPTION

This module allows the user to run demo script files illustrating the use of IRIS Explorer. The user can step through a demo interactively, or allow it to run automatically using a timer. At each step of the demo, commentary text is displayed on the module control panel and also in the IRIS Explorer log window. The user can save the map at any time, which might provide a useful starting-point for their own map development.

The script files are written in a language which is a (slight) extension to Skm, the standard IRIS Explorer scripting language. In a script file, lines which contain a comment character (;) in the first column are output to the 'Text' window of the module. In addition, a comment of ;PAUSE causes the demo to pause at that point.

INPUTS

Port: Information
Type: Parameter
Optional: This port is optional.

Controls the amount of output produced by the module, in excess of the text coming from the demo script file. The default is Quiet, which produces no extra output, while Errors Only produces error messages. Finally, Verbose generates extra informative messages about the working of the module.

WIDGETS

Port: Demo
Type: Scroll List

This is the list of available demos. The module looks for the demo script files in the folder pointed to by the EXPLORERDEMOHOME environment variable, or, if this is not set, it looks for them in the 'demo' folder in the installation directory (pointed to by EXPLORERHOME).

To run a demo, click on the script file and press the 'Next' button.

Port: Text
Type: Scroll List

This is where the commentary text from the demo script appears. The window can be resized by resizing the module window.

Port: Next
Type: Button

Pushing this button advances the demo to the next step.

Port: Save
Type: Button

Pushing this button saves the demo map in its current configuration, without the ViewDemo module itself. The map gets saved into a file called 'saved.map' in the current default folder.

Port: Timer
Type: Option Menu
Menu Item: Off
Menu Item: On

Controls whether the demo is run automatically using a timer. If this is turned on, the demo will pause at each step for a default period of time (5 seconds). This default can be overridden in the demo script by appending a numerical value (in seconds) to the ;PAUSE command, separated by a space.

OUTPUTS

KNOWN PROBLEMS

SEE ALSO


[Documentation Home]