Using If, Lbl, and Goto to Control Program Flow
Using If, Lbl, and Goto to Control Program Flow
Using If, Lbl, and Goto to Control Program Flow
Using If, Lbl, and Goto to Control Program Flow
An
structure uses a conditional test to decide whether or not to execute one or
If...EndIf
more commands.
from one place to another in a program.
F2 Control Toolbar Menu
F2 Control Toolbar Menu
F2 Control Toolbar Menu
F2 Control Toolbar Menu
To enter
structures, use the Program
If...EndIf
Editor's „
Control
The If command is available directly from the
„ menu.
To see a submenu that lists other
select
.
2:If...Then
When you select a structure such as
, a template is inserted at the
If...Then...EndIf
cursor location.
Programming
(label) and
Lbl
Goto
toolbar menu.
structures,
If
commands can also be used to branch (or jump)
:If | Then Ê
:EndIf
Ê
The cursor is
positioned so that you
can enter a conditional
test.
606