LOOP Examples
Example 1:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
In this example, the KEYIN/SCAN/DISPLAY loop is repeated until a Y or an N is entered. The same result could be accomplished using UNTIL EQUAL in place of the WHILE NOT EQUAL.
Example 2:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
In this example, the KEYIN/SCAN loop is repeated until a Y or an N is entered. The same result could be accomplished
using WHILE NOT EQUAL in place of UNTIL EQUAL.
![]() |