The timetable header

The following commands must only appear in the timetable header. That means, no other lines, except comment lines, should be placed before or between them, in order for them to function correctly. The reason for this is that these commands apply to the Configuration window or the About window. The values specified by these commands are needed even if the Timetable file is not running. The timetable header is terminated by the first line containing an other command, which is not a header command.   Traffic reads the header of the current Timetable file when it displays the configuration window. It proceeds to read the remainder of the Timetable file when it begins to generate trains, as reading the whole timetable file would be time consuming and dangerous (possible errors in the timetable file could disturb the functions).

Personalize Traffic
$HLPWEB Additional menu entry in the Help menu of the Configuration Window
$INFO Text to show in the About window
$NOAUTHORS Don't list the pictur authors in the About window
$NOCAT, $NOCATENARY Reserved
$NORAIL Don't show the trackbad in the About window
$CPL, $CFGPICL, $ABOUT_PICTURE_LEFT Change the left picture in the Configuration window
$CPR, $CFGPICR, $ABOUT_PICTURE_RIGHT Change the right picture in the Configuration window
$APL, $ABPICL, $ABOUT_PICTURE_LEFT Change the left picture in the About box
$APR, $ABPICR, $ABOUT_PICTURE_RIGHT Change the left picture in the About box
$PPL, $PREVPICL, $PREVIEW_PICTURE_LEFT Change the left picture in the Preview window
$PPR, $PREVPICR, $PREVIEW_PICTURE_RIGHT Change the left picture in the Preview window
Options for conditional input
Options: introduction
$OPT, $OPTION Place an option into the menu and define the option name
$OPTCMD, $OPTION_COMMAND Place an option command into the menu
$OPTSUB, $OPTION_SUBMENU Start a submenu in the option menu
$OPTEND, $OPTION_SUBMENU_END End a submenu in the option menu
$SET Set the value of an option
$CSET Set the value of an option only, if it unset/undefined yet
$OPTGDEF Default value to use for the undefined options
Version information
$VERSION Timetable file version
$MINVER Minimal program version to run this timetable

The following commands often appear towards the top of the Timetable file, or even in the header itself.   However, they do not belong to the group of commands which are required to be in the header. They are not needed in the header, but they do not terminate the header. Usual screensavers stop running at each keyboard and mouse action. Traffic, even if it runs as screensaver, has keyboard and menu commands to get more information about the vehicles shown, and to help debugging the timetable (and the program itself).

Settings how to stop screensaving
$NOSTOPONMOVE Do not stop the screensaving, when the mouse is moved
$NOSTOPONCLICK Do not stop the screensaving, when clicked with the mouse
$NOSTOPONKEY Do not stop the screensaving when keyboard key is pushed
Last edited: 2023-02-13 15:17:34