4.4.7 Characters having special meanings
(1) Uppercase and lowercase identification
Lowercase characters will be resigned as lowercase characters when they are used in comments or in char-
acter string data. In all other cases, they will be converted to uppercase letters when the program is read.
(2) Underscore ( _ )
The underscore is used for the second character of an identifier (variable name) to identify the variable as
an external variable between programs. Refer to
Example) P_Curr, M_01, M_ABC
(3) Apostrophe ( ' )
The apostrophe ( ' ) is used at the head of all comments steps. When assigned at the head of a character it
is a substitute for the Rem statement.
Example) 1 Mov P1 'GET
2 'GET PARTS
(4) Asterisk ( * )
The asterisk is placed in front of label names used as the branch destination.
Example) 2 *CHECK
(5) Comma ( , )
The comma is used as a delimiter when there are several parameters or suffixes.
Example) P1=(200, 150, .......)
(6) Period ( . )
The period is used for obtaining certain components out of multiple data such as decimal points, position
variables and joint variables.
Example) M1 = P2.X
(7) Space
The space character, when used as part of a character string constant or within a comments step, is inter-
preted as a character. The space character is required as a delimiter immediately after a step No. or a com-
mand word, and between data items. In the [Format] given in section
of command
words", the space is indicated with a "[]" where required.
;GET will be set as the comment.
;This is the same as 150 Rem GET PARTS.
; Substitute the position variable P2.X coordinate element in numeric variable M1.
Page 144, "4.4.22 External variables"
Page 168, "4.13 Detailed explanation
Detailed specifications of MELFA-BASIC V 4-137
4MELFA-BASIC V
for details.