Mitsubishi MELFA CR1D Instruction Manual page 259

Table of Contents

Advertisement

[Explanation]
(1) If the condition matches one of the Case items, the process will be executed until the next Case, Default
or EndSelect. If the case does not match with any of the Case items but Default is described, that block
will be executed.
(2) If there is no Default, the program will jump to the step after EndSelect without processing.
(3) The Select Case and End Select statements must always correspond. If a GoTo instruction forces the
program to jump out from a Case block of the Select Case statement, the free memory available for
control structure (stack memory) decreases. Thus, if a program is executed continuously, an error will
eventually occur.
(4) If an End Select statement that does not correspond to Select Case is executed, an execution error will
occur.
(5) It is possible to write While-WEnd and For-Next within a Case block.
(6) Use "Case IS", when using the comparison operators (<, =, >, etc.) for the "<Expression>".
Detailed explanation of command words 4-246
4MELFA-BASIC IV

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melfa cr2dMelfa cr3d

Table of Contents