4-136 Detailed specifications of MELFA-BASIC V
4MELFA-BASIC V
4.4.6 Types of characters that can be used in program
The character which can be used within the program is shown in Table 4-5. 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-5:List of characters that can be used
Refer to Page 133, "(1) Program name" for detail of program names, refer to Page 141, "4.4.15 Variables"
for detail of variable names, and refer to Page 135, "4.4.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 O O
Numerals 0 1 2 3 4 5 6 7 8 9 O @
Note1)
Note1) Only alphabetical characters can be used as the first character of the variable name. Numerals can
be used as the second and succeeding characters.
@
Note2)
Note2) The head of the label name in the program can use only the English character. The numeral can be
used in 2nd character or later.
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) "_" (underscore) can be used in 3rd character or later of the label name.
Spaces Space character X X X