68

SUB (see Chapter 6)
Use SUB is used to define a subprogram.
Syntax SUB sub-identifier[ I furmal-list I) [EXPORT)
sub-body:
END SUB
where sub-idenlifier is a name
sub-body is a sequence of BASIC 2 Plus statements, separated with colons or new lines in the usual way.

SWAP (see Chapter 2)
Use SWAP exchanges the values of two general variables.
Syntax SWAP general—variable, general—variable

SYSTEM (see User Guide Chapter 1)
Use SYSTEM takes you out of BASIC 2 Plus. (See also QUIT.)
Syntax SYSTEM

TAN (see Chapter 3)
Use TAN is a function which returns the tangent of its argument.
Syntax TAN)argument)
where argument is a numeric-expression.

TEST (see Chapters 9 & 12)
Use TEST is a function which returns the colour of a point on a Graphics Screen. Syntax TEST)[I/stream-nomber, I point)
NB:
TEST may have no effect, depending on the device driver.
TEXT (see Chapter 11)
Use TEXT pertonns various operations available on text screens.
Syntax TEXT [I/stream-number,I CLEAR clear-area
or TEXT [I/stream-number,I DELETE [LINE)
or TEXT [I/stream-number,I INSERT [LINE)
or TEXT [I/stream-number,I FEED count
where clear-areaisoneofEOL, DOL, LINE, EOS, BOS, SCREEN
count is an integer-expression.
68

68