" (quotation mark) |
Opening and closing delimiter for a literal
string on a single line. |
| (vertical bar) |
Opening and closing delimiter for a multi-line
literal string. To include a vertical bar in the string, use double
bars ( || ). |
{ } (braces) |
Delimits a multi-line literal string. To include
an open brace in the string, use a single open brace ({). To include
a close brace in the string, use double close braces (}}). |
: (colon) |
- Separates multiple statements on a line.
- When following an identifier at the beginning of a line, designates
the identifier as a label.
|
$ (dollar sign) |
- When suffixed to the identifier in a variable declaration or an
implicit variable declaration, declares the data type of the variable
as String.
- When prefixed to an identifier, designates the identifier as a
product constant.
|
% (percent sign) |
- When suffixed to the identifier in a variable declaration or an
implicit variable declaration, declares the data type of the variable
as Integer.
- When suffixed to either the identifier or the value being assigned
in a constant declaration, declares the constant's data type as Integer.
- Designates a compiler directive, such as %Rem or %If.
|
& (ampersand) |
- When suffixed to the identifier in a variable declaration or an
implicit variable declaration, declares the data type of the variable
as Long.
- When suffixed to either the identifier or the value being assigned
in a constant declaration, declares the constant's data type as Long.
- Prefixes a binary (&B), octal (&O), or hexadecimal (&H)
number.
- Designates the string concatenation operator in an expression.
|
! (exclamation point) |
- When suffixed to the identifier in a variable declaration or an
implicit variable declaration, declares the data type of the variable
as Single.
- When suffixed to either the identifier or the value being assigned
in a constant declaration, declares the constant's data type as Single.
|
# (pound sign) |
- When suffixed to the identifier in a variable declaration or an
implicit variable declaration, declares the data type of the variable
as Double.
- When suffixed to either the identifier or the value being assigned
in a constant declaration, declares the constant's data type as Double.
- When prefixed to a literal number or a variable identifier, specifies
a file number in certain file I/O statements and functions.
|
@ (at sign) |
- When suffixed to the identifier in a variable declaration or an
implicit variable declaration, declares the data type of the variable
as Currency.
- When suffixed to either the identifier or the value being assigned
in a constant declaration, declares the constant's data type as Currency.
|
* (asterisk) |
- Specifies the string length in a fixed-length string declaration.
- Designates the multiplication operator in an expression.
(1) Specifies the string length in a fixed-length string declaration. (2)
Designates the multiplication operator in an expression. |
( ) (parentheses) |
- Groups an expression, controlling the order of evaluation of items
in the expression.
- Encloses an argument in a sub or function call that should be
passed by value.
- Encloses the argument list in function and sub definitions, and
in calls to functions and subs.
- Encloses the array bounds in array declarations, and the subscripts
in references to array elements.
- Encloses the list tag in a reference to a list element.
|
. (period) |
- When suffixed to a type variable or an object reference variable,
references members of the type or object.
- As a prefix in a product object reference, designates the selected
product object.
- As a prefix in an object reference within a With statement, designates
the object referred to by the statement.
- Designates the decimal point in a floating-point literal value.
|
.. (two periods) |
Within a reference to a procedure in a derived
class that overrides a procedure of the same name in a base class,
specifies the overridden procedure. |
[ ] (brackets) |
Delimit names used by certain IBM® software applications to identify product
objects. |
, (comma) |
- (1) Separates arguments in calls to functions and subs, and in
function and sub definitions.
- Separates bounds in array declarations, and subscripts in references
to array elements.
- Separates expressions in Print and Print # statements.
- Separates elements in many other statements.
|
; (semicolon) |
Separates expressions in Print and Print #
statements. |
' (apostrophe |
Designates the beginning of a comment. The
comment continues to the end of the current line. |
_ (underscore) |
When preceded by at least one space or tab,
continues the current line to the next line. |