System Variables for text macros

The following system variables can be used in the text macro processor: in conditional expressions { ? ? } and in the %EVAL expressions.

WTR, WTRAFFIC 1, if loaded by WTraffic, 0, if run in Traffic
SEQ, SEQUENCE Integer code for the default value of the job sequences: BEGIN:1, FIX:2, CONTINUED:3, RSEQ:4, RANDOM:5
WINX, WINDOWWIDTH The inner width of the window Traffic is running
WINY, WINDOWHEIGHT The inner height of the window Traffic is running
SCREENX, SCREENWIDTH The width of the screen Traffic is running on
SCREENY, SCREENHEIGHT The height of the screen Traffic is running on
WIN, WINDOWMODE 1, if Traffic is running in Window mode, 0 otherwise
FULL, FULLSCREENMODE 1, if Traffic is running in Full Screen mode, 0 otherwise
STRIPE, APPBARMODE 1, if Traffic is running in Stripe mode, 0 otherwise
MINI, MINIAPPMODE 1, if Traffic is running in Mini mode, 0 otherwise
FILELEVEL Depth of the timetable file usage: the main timetable - which was started - has FILELEVEL=1, each additional $INCLUDE or $REQUIRE file invoked inside each other adds 1 to the file level.
Last edited: 2023-02-11 18:17:27