5.8 BASIC Command Reference
5.8.1 Format elements
The method for entering statements is explained below.
• Words in bold type are command or functions, and they must be entered as
shown.
• Braces indicate that one of the parameters enclosed must be specified.
• Commas contained in braces must be written in the position shown.
• Brackets indicate that the parameters enclosed may be omitted. Brackets
themselves are not entered.
• An asterisk indicates that the term preceding it may appear more than once.
• Numeric expressions – Constants, expressions and numeric variables (e.g. 10,
10+25, A, unit cost*quantity).
• String expressions – String constants, string variables and string expressions
(e.g. “ABC”, A$, A$+B$).
• Expressions – General term for numeric and string expressions
• Arguments – Elements used by commands and functions
• Can only be executed in a program.
• Can only be executed manually.
• Can be executed both manually and in a program.
• Function instruction that can be executed both manually and in a program.
EXAMPLE: MID$ function
The term “string expression” under “string array” describes that array. Likewise,
“numeric expression” under “position” and “number of characters are descriptors.
Also, since the comma and number of characters are enclosed in brackets, they may
be omitted.