by RGZbrog » Mon Nov 22, 2010 11:57 pm
FOR is used typically to process an array. The syntax allows a starting value, ending value, and increment of an index variable.
REPEAT can be used to execute a block of code UNTIL or WHILE a condition exists, but more often it is used as an infinite loop in which the on-line user determines when to exit by pressing a specific PF key.