Appendix 6


BASIC keywords

Eagh BASIC keyword is described briefly below. If an abbreviated form of the

keyword is allowed, it is given in brackets after the full version. Note that the

abbreviation for some keywords includes an opening bracket; for example LE.

is equivalent to LEFT$( and not just LEFT$.

Many of the keywords are explained in more detail in Chapter 2. Keywords

marked || provide access to facilities beyond the scope of this guide and users

should consult the Reference Manual for further information.

ABS Function giving the positive value of any number.
ACS Function giving the are-cosine, in radians, of any
number from I to 1 inclusive.
ADVAL (AD.) || „ Read data from the joystick port or buffers.
AND (A.) Used as a logical or bitwise operator.
ASC Function producing the ASCII code of the first
character in a string.
ASN Function giving the are-sine, in radians, of any
number from -1 to 1 inclusive.
ATN Function giving the arc-tangent, in radians, of any
number.
AUTO (AU.) Command to give automatic line-numbering.
BGET# (B.#) || Give the code of the next character in a file-
BPUT# (BP.#) || „Write the code of a character to a file.
CALL (CA.) Execute a machine-code routine.
CHAIN (CH.) Load and run a BASIC program.
CHR$ Function producing the character with the given
ASCII code.
CLEAR (CL.) Clear the memory of all program variables, except
the resident integer variables.
CLG Clear the graphics window to the current graphics
background colour.
App 6.1