11-191 11-191
11.14.2. Converting line Nos. (from MELFA-BASIC IV to MELFA-BASIC V or VI)
Converts the line Nos. and relevant command lines, because the handling of line Nos. in MELFA-BASIC IV is
different from MELFA-BASIC V/VI.
For the MELFA-BASIC V/VI, conversion is as follows.
- The line Nos. are converted to step Nos. (Sequential No. starting from 1).
- Line No. jumps are converted label jumps.
Convert the program according to the following procedure.
Figure 11-96 Conversion from MELFA-BASIC IV to MELFA-BASIC V/VI
(1) Select the program language of the source and target for conversion.
Startup program conversion in the project set with "MELFA-BASIC VI" or "MELFA-BASIC V".
Choose “MELFA-BASIC IV” for the source and choose “MELFA-BASIC V/VI” for the target.
It is NOT necessary to select the robot axis.
110 MVS P2
120 GOTO 100
:
2 MVS P2
3 GOTO *LB00001
:
*LB00001 is the label name created automatically by this conversion.
110 MVS P2
120 MOV P3
:
2 MVS P2
3 MOV P3
: