Statement: Condition, Type: Supporting
All Flags
Format: initial-condition-statement All Flags boolean-text
where
Description
The All Flags identifier instructs the designed system that you are referencing the state field of all data flags that have been created.
When using the All Flags identifier in a condition statement, the system will read the state value from all of the data flags, perform a total comparison to the outcome of the boolean-text to produce a logical true or false result. When all of the data flags outcome are evaluated as true the program control is passed to the body of the condition block.
For more information, see Data Flags, Set Flag.
Example
We want to make bets on two layouts only if all of our data flags contain a state value of true. The following example will perform this task.
RX Script | Copy Code |
---|---|
If All Flags are True begin Put 5 units on Red Put 15 units on Column B end |