4-129 Detailed specifications of MELFA-BASIC V
4MELFA-BASIC IV
4.3.6 Types of characters that can be used in program
The character which can be used within the program is shown in Table 4-4. However, there are restrictions
on the characters that can be used in the program name, variable name and label name. The characters
that can be used are indicated by O, those that cannot be used are indicated by X, and those that can be
used with restrictions are indicated by
@.
Table 4-4:List of characters that can be used
Refer to Page 126, "(1) Program name" for detail of program names, refer to Page 134, "4.3.15 Variables"
for detail of variable names, and refer to Page 128, "4.3.5 Label" for detail of label names.
Class Available characters Program name Variable name Label name
Alphabetic
characters
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z O O O
a b c d e f g h i j k l m n o p q r s t u v w x y z X @
Note1)
Note1) Alphanumerics in variable names and label names in the program are automatically converted into
uppercase characters.
@
Note 1)
Numerals 0 1 2 3 4 5 6 7 8 9 O @
Note2)
Note2) Only alphabetical characters can be used as the first character of the variable name. Numerals can
be used as the second and succeeding characters.
O
Symbols " ’ & ( ) * + - . , / : ; = < > ? @ ` [ \ ] ^ { } ~ | X X X
! # $ % X Available for
type
specification
X
_(Underscore) X @
Note3)
Note3) They can be used as the second and succeeding characters. Any variable having an underscore
(_) as the second character becomes an external variable.
@
Note4)
Note4) If an underscore (_) is used in a label name, start with an asterisk (*) followed by alphabetic
character "L."
Spaces Space character X X X