Introduction to Robotics/Visuals/Nested Loops

From Wikiversity
Jump to navigation Jump to search
Nested Loops
MyCount VAR Byte

FOR MyCount = 0 TO 200
   FOR MyCount = 0 TO 50
   ...
   NEXT
NEXT

MyCount never reaches 200