Statement: Condition, Type: Supporting
All False Flags
Format: initial-condition-statement All False Flags support-condition integer
where
-
initial-condition-statement = any valid condition statement that use these identifiers listed below
-
support-condition = any one of the valid series of supporting condition identifiers listed below:
-
integer = any numeric variable.
Description
The All False 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 False Flags identifier in a condition statement, the system will count the number of data flags that have a false state value and compare the total count against another supporting condition identifier to produce a logical true or false result. When the outcome is 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 there are five data flags that contain a state value of false. The following example will perform this task.
RX Script | Copy Code |
---|---|
If All False Flags count = 5 begin Put 5 units on Red Put 15 units on Column B end |