31

Syntax Summary
ABS (see Chapter 3)
Use ABS is afumetion which returns the absolute value of its angument.
Syntan ABSlargumenll
where argumentis a numeric-expression.

ACOS (see Chapter 3)
Use ACOS is a function which returns the angle whose cosine takes the given value.
Syntax ACOS(argumenll
where argumentis a numeric-eopression, gioing a value in the range—i +1.

ADDKEY (see Chapter 13)
Use ADDKEY adds a new key forthe current record.
Syntao ADDKEY (Jflstream-number(,) new-key if,) LOCK lock-type)
where new-key is: KEY key-value ([,) INDEX index-number)
where key-value is an expression, gioiog a value compatible with the index’s key type index-number is an integer-expression, giving a value in the range i ..2ll.

ADDREC (see Chapter 13)
Use ADDREC adds a new record to a Keyed File.
Syntao ADDREC (jflstreamnumber, string-expression [,) key [f,) LOCK lock-type)
where keyis: KEY key-value[[,)INDEX index-number)
where key-value is an expression, giving a value compatible with the loden’s key type index-number is an integer-expression, giving a value in the range i..2ll.

ALERT (see Chapter 14)
Use ALERT produces am alert box on the screen.
Syntax ALERT icon (,)TEXT text-Une[, text-Une/.. /.) BUTTON button-specf, buoon-specf.. where: icon is an integer-expression giving a value in the range 0.3, specifying which icon is
to be used.
Eachtoxt-Une is a string-expression, giving one line of text forthe body of the alert box. Each button-spec is (RETURN)string-expression, giving the legend for one buttun.
Note: References given to the appropriate chapter of the Language Reference Guide.
BASIC 2 Plus: User Guide & Quick Reference
31

31