┌────────────────────────────────────────────────────┐
│                   System Flags.                    │
└────────────────────────────────────────────────────┘

            SUB SetFlag (Flag%, Value%)

This routine is used to set  one of the sixteen system
flags to a value of between 0 and 255. These flags are
situated in the Intra-Application Communications area,
an area reserved by DOS for user programs to signal to
each other. FLAG% is the flag number (1-16), VALUE% is
the value you want to set.

              FUNCTION GetFlag% (Flag%)

Returns the current setting of the flag specified.