Conditional Executing of Commands |
condition heading
condition test
commands at condition fulfillment
commands at condition non-fulfillment
The conditional executing of commands serves to branch the program depending on a condition validity. In the condition test a logical term can be quoted, which will be evaluated during program execution. If the logic term holds, a group of commands situated in the branch will be executed to fulfill the condition. Otherwise a group of commands situated in the branch for condition non-fulfillment will be executed.
Example of using:
Full Html Context Help of The Peter - Gemtree Software & Children Programming