4-124
The difference between MELFA-BASIC V and MELFA-BASIC IV
4.2 The difference between MELFA-BASIC V and MELFA-BASIC IV
4.2.1 About MELFA-BASIC V
By the CR7xx series controller, MELFA-BASIC V is mounted in the robot programming language. It is easier
to use MELFA-BASIC V than conventional MELFA-BASIC IV.
Explains the difference in the following
4.2.2 The feature of MELFA-BASIC V
MELFA-BASIC V has the following features as compared with MELFA-BASIC IV.
(1) The line number is unnecessary The conventional line number is automatically added as a step num-
ber. Thereby, operation of giving the line number is unnecessary and the efficiency of programming
improves. And the loss in debugging by the mistake of the line number will be reduced.
(2) Usage of the small letter is enabled at the command, the variable name, etc. Thereby, the readability
improves sharply.
(3) The command and the function were added and the function was improved.
4.2.3 Comparison with MELFA-BASIC IV
Comparison of MELFA-BASIC V and IV is shown in
Table 4-2:Comparison with MELFA-BASIC IV
Item
MELFA-BASIC V
MELFA-BASIC IV
Program name
The English capital letter and numeral of the less than 12 characters
(Recommend the less than four characters because of the O/P display)
The character which can be
used
*Alphabetic character
(the capital letter, the small letter)
* Numeral
* Mark
* Alphabetic character
(it is only the capital letter.) (Usage
only to the comment and character
string data is possible for the small
letter)
* Numeral
* Mark
Step number (line number)
Add automatically by program regis-
tration as a step number.
It is necessary to input as a line num-
ber at programming.
The length of the one line
Less than 240 characters
Less than 127 characters
Variable name
The less than 16 characters. The
English capital letter and the English
small letter can be used for the vari-
able name.
Although the capital letter and the
small letter are handled as the same
variable, converts into the notation
registered first in read-out.
The less than eight characters. All
the alphabetic characters used for
the variable name are converted into
the capital letter.
Label name
The less than 16 characters. The
English capital letter and the English
small letter can be used for the label
name.
Although the capital letter and the
small letter are handled as the same
label name, converts into the notation
registered first in read-out
The less than eight characters. All
the alphabetic characters used for
the label name are converted into the
capital letter.
Command word
The definition is given combining the
English capital letter and the English
small letter. Although it can register
without difference of the capital letter
and the small letter, converts into the
notation which defines by the system
in read-out.
The capital letter defines all.
Registration is also registered with
the capital letter.
Function
System status variable
The jump destination specified
method of the branch instruc-
tion (GoTo, GoSub)
Specify with the label.
Specify by the label or the line num-
ber.