Mitsubishi MELFA CR1D Instruction Manual page 276

Table of Contents

Advertisement

4MELFA-BASIC IV
(Label)
[Function]
This indicates the jump site.
[Format]
*<Label Name>
*<Label Name> [:<Command line>]
[Terminology]
<Label Name>
<Command line>
[Reference Program]
1 *SUB1
2 If M1=1 Then GoTo *SUB1
3 *LBL1 : IF M_In(19)=0 Then GoTo *LBL1
[Explanation]
(1) An error will not occur even if this is not referred to during the program.
(2) If the same label is defined several times in the same program, an error will occur at the execution.
(3) The reserved words can't be used for the label.
(4) If the underscore is used for the label name, the 1st character is "L." only. If the characters except "L" are
used (ex. *A_LABEL), an error occurs.
Ex.) The correct example of the label with using the underscore. (The 1st character is "L")
*L_ABC, *L12_345, *LABEL_1
The mistake example of the label with using the underscore.
*H_ABC, *ABC_123, *NG_, *_LABEL
(5) The software J1 or later, the command line can be described after the colon after the label (:). However,
after the command line, the colon cannot be described and the command line cannot be described
again.
4-263 Detailed explanation of command words
Describe a character string that starts with an alphabetic character.
Up to 8 characters can be used. (Up to 9 characters including *.)
The command line can be described after the colon after the label (:).
' Wait by the 300 lines until the input signal of No. 10 turns
on.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melfa cr2dMelfa cr3d

Table of Contents