Tests the condition and if this is successful obeys the lines of Visual Logic in the sub-block. Then repeats. Continues like this until the test is unsuccessful.
do Visual Logic Sub-Block
Significantly different from UNTIL in that if the condition is unsuccessful on the first attempt the sub-block is not obeyed even once.
Please note that you will need to use a looping variable for this command and to increment it within the WHILE loop, otherwise you will have an infinite loop. In the following example, lclRow is the looping variable and it is incremented after the last and only command within the WHILE Loop.
You can download a simulation example on the use of WHILE here: while_loop.s8