basic.)

Reserved Character/BASIC Program, Releases: AP and R83

surrounds arguments within functions, encloses subscript refererences within dimensioned arrays, and overrides the normal order of precedence evaluation.

Description

surrounds arguments within functions, encloses subscript refererences within dimensioned arrays, and overrides the normal order of precedence evaluation.

Example

')' as a function delimiter:

if not(num(response)) then crt 'must be numeric!'

As a dimensioned array reference:

if cust.array(22) = '' then cust.array(22) = 'hold'

Changing precedence in an arithmetic expression:

age = (today - birthday) / '365'

Without grouping precedence, the above calculation produces an inaccurate
result due to the fact that division occurs at a higher level of precedence
than subtraction.

See Also

Command Name Type Description
basic.dim Statement Declares a dimensioned array.
basic.matread Statement Reads item into dimensioned array.
basic.precedence Definition Precedence of compound expressions.
basic.array.variable Definition References a dimensioned array.
basic.arithmetic.expressions Definition Arithmetic expressions.
basic.special.characters Reserved Character Reserved characters and their functions.
basic.array.dimensioned Definition a table where the contents of the elements can be altered (replaced) but the position of each element is fixed.
array Definition tables of values of any data type.
basic.array.references Definition Referencing arrays.
basic.( Reserved Character used to surround arguments within functions, or to enclose subscript refererences within dimensioned arrays. It is also used to override the normal order of precedence evaluation.
basic.ac.expression Definition Derives an attribute count.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.