SyntaxThe general form of the syntax can be expressed as follows:
UseYou can use the
for statement to execute a loop based on the element of
a list. The form of the syntax can be expressed as follows:
let List1(List)
let x(Point)
For x inside List1
{
... Body ...
if (x <> NULL)
...
}
Where:
Notes:
You can use the
for statement to execute a loop that stops only when an
expression becomes false. The form of the syntax can be expressed as follows:
For x while predicate
{
... Body ...
}
Where:
Note:
Using the for statement in such a configuration can lead to
infinite loops.
| |||||||||