The following variables and constants are predefined within
Scripta:

Name         Value
~~~~         ~~~~~
#nnn         The single character whose Ascii code is nnn. nnn
             must be in the range 0 to 255.
               
             To avoid confusion with constants of this type, if
             a string needs to contain a 'real' hash-mark, then
             two should be used.
               
             e.g., MESSAGE "## is a hash-mark." would display the
             message

                               '# is a hash-mark.'

%BAUD        The Baud Rate of the currently active Virtual
             Port.
               
             This will always be one of the values 300, 1200,
             2400, 4800, 9600, 19200 or 38400.

%BITS        Either 7 or 8, indicating the number of Data Bits
             (i.e., the Word length) associated with the
             currently active Virtual Port.

%BOXSTATE    Returns a string value indicating which screen
             window boxes are open. There may be up to five
             boxes, numbered 1 to 5. The string returned by
             %BOXSTATE contains a space character in position 0
             and an O or C character in each of positions 1 to
             5, indicating the status (Open or Closed) of boxes
             1 to 5.

             For example, if boxes 1 and 4 are currently open,
             %BOXSTATE returns the value ' OCCOC'.

%CONN        1 if your modem is currently connected to a remote
             computer, 0 otherwise.

%CURRDIR     The full name, including drive specification, of
             the current DOS directory.

%DOWNDIR     The name of the Download Directory associated with
             the currently active Virtual Port.

%DPORT       The default Virtual Port Number, as currently set
             in Scripta Configuration. Range 1 through 8.

%ERROR       1 if a preceding disc or file access failed,
             0 otherwise.

%FALSE       0

%FLOW        The Flow Control method associated with the
             currently active Virtual Port.
               
             This will be one of the values "RTS/CTS",
             "XON/XOFF" or "None".

%HAD         The number (1 to 10) of the wait string which
             satisfied the most recently executed Wait or
             SendWait command.

%MAXINT      The largest positive value which may be stored in
             a Scripta INTEGER variable.

%MININT      The largest negative value which may be stored in
             a Scripta INTEGER variable.

%NOCONN      1 if your modem is currently not connected to a
             remote computer, 0 otherwise.

%NOERROR     0 if a preceding file access failed, 1 otherwise.

%NOPRESS     1 if no key has been pressed; 0 otherwise.

%PARITY      The Parity associated with the currently active
             Virtual Port.
               
             This will be one of the values "Odd", "Even" or
             "None".

%PORT        A number in the range 1 to 8, indicating the
             number of the currently active Virtual Port.

%PRESS       1 if a key has been pressed; 0 otherwise.

%STOPS       Either 1 or 2, indicating the number of Stop Bits
             associated with the currently active Virtual Port.

%SYSATTR     The attributes of the most recent file or
             directory to be matched by a call of GETFIRST or
             GETNEXT.

%SYSDATE     The current DOS date, in the form YY-MM-DD.

%SYSDAY      The current day of the week, calculated from
             %SYSDATE

%SYSLEN      The length of the last record read using the
             command

                          FREAD/<maximum_bytes>

%SYSNAME     The name of the most recent file or directory to
             be matched by a call of GETFIRST or GETNEXT.

%SYSSIZE     The size in bytes of the most recent file or
             directory to be matched by a call of GETFIRST or
             GETNEXT.

%SYSTIME     The current DOS time in the form HH:MM:SS:hh,
             where hh is hundredths of a second.

%TRUE        1

%UPDIR       The name of the Upload Directory associated with
             the currently active Virtual Port.
