JTraffic Screensaver

$CSET

$CSET <Name>=<Boolean>\
$CSET <Name>\
\
$SET <Name>=<Boolean>\
$SET <Name>\

This commands sets the option value <Name> to the value <Boolean> , or, in the second form, without a value, they set it to True.

The $SET command stores the value always, the $CSET stores it only, when the option for the conditional evaluation is not defined yet.

Normally the option values are defined by the $OPTION command, and set by the user in the Option menu of the configuration window. There is two reason to set an option with the $CSET command:

  • to build values derived from the real options
  • to set a value even if the option is not defined.

This second is the case, if you have a complicated timetable consisting of many different files, which are included into a main timetable file or into each other. If you want to test an included timetable file without the main timetable file, you won't have the options, which are specified in the main timetable file. There are two ways to solve this problem:

  • to put all the $OPTION lines into a special file, which in included in all other files by $REQUIRE,

or to give default values by the $CSET command for that options in each timetable file, which are used there.

Overview
The Configuration Window
Program Window
Stock List
Description Editor
Graphic Testpad
Timetable Editor
Timetable Syntax and Semanics
The timetable header
Sections, Groups, Lines, Scenes
Actions
Stock List File