If If If If
Use
for testing and branching. If
If
following
is skipped. If
If
instructions can be nested.
:If condition
:command (if true)
:command
Program
If-Then
If-Then
If-Then
If-Then
following an
Then
identifies the end of the group of
:If condition
:Then
:command (if true)
:command (if true)
Chapter 16: Programming
condition
is true (nonzero), then the next
condition
Output
executes a group of
If
commands
is false (zero), then the
if
commands
condition
.
immediately
command
is executed.
command
is true (nonzero).
End
If
437