Control Structures – FOR .. NEXT Loop
/*
Control Structures – FOR .. NEXT Loop
Control structures are code fragments that allow
– execution repeatedly by any number of time or
– if / while a logical condition satisfying by a true value.
All control structures may be nested and always have a beginning and ending statement.
The first kind of control structures are looping structures and first of them is FOR..NEXT Loop.
For more information refer here
*/
PROCEDURE Main()
FOR nLines := 1 TO 10 FOR nColumns := 1 TO 10 ?? STR( nLines * nColumns, 4 ) NEXT nColumns ? NEXT nLines WAIT RETURN // Main()