|
|
|
|
|
FOR EACH/FOR ALL statement (browse of combinations) In french: POUR TOUT / POUR TOUS
The FOR EACH statement is used to browse the available values in the combinations. Note: The FOR EACH, FOR ALL statements are accepted. The FOR EACH statement will be used in this documentation but it can be replaced with FOR ALL.
CombinationType is Combination
CreateFile
ReadFile
WriteFile
DeleteFile
END
FOR EACH eOption OF CombinationType
Trace(eOption..Name)
END
FileAction = ReadFile + WriteFile
FOR EACH eOption OF FileAction
Trace(eOption..Name)
END
Syntax <FOR EACH>: Marks the beginning of the statement block. <MyOption>: Option Description variable corresponding to the combination option. There is no need to declare this variable. <Combination>: - Combination containing the values to browse.
- Combination variable containing the options to browse. All the options (active or inactive) are browsed.
Browsing the active options of a Combination variable Hide the details
FOR EACH <MyOption> OF <Combination> ... END
<FOR EACH>: Marks the beginning of the statement block. <MyOption>: Option Description variable corresponding to the combination option. There is no need to declare this variable. <Combination>: Combination variable containing the options to browse. Only the active options are browsed.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|