Statement: Condition, Type: Supporting
<= (less than or equal to symbol)
Format: initial-condition-statement source-support-condition <= dest-support-condition
where
-
initial-condition-statement = any valid condition statement that use these identifiers listed below:
-
source-support-condition = any one the valid series of supporting condition identifiers listed below:
-
dest-support-condition = any one the valid series of supporting condition identifiers listed below:
-
integer, Record Data, Record Layout, Record Data Index, Record Layout Index, Record Data Count, Record Layout Count
-
any roulette table layout identifiers
-
Description
The <= (less than or equal to symbol) identifier reads the source-support-condition value and performs a logical comparison to determine if the value is less than or equal to the value located at the dest-support-condition. The source-support-condition can only contain a numeric value when performing a comparison with the <= (less than or equal to symbol) identifier.
When performing a less than or equal to comparison between the source-support-condition and dest-support-condition identifiers, if the condition outcome is evaluated as true and the program control will be passed to the body of the condition block.
Numeric types
Below are some examples when performing a comparison to a numeric value:
-
comparing Bankroll data to a specific unit amount
-
comparing Record Data to another Record Data or specific value
-
comparing Win units to a specific unit or contents of a Record Data
Example
During our system, we are placing bets on several roulette layouts. At some point, we are determining if we have depleted our Bankroll balance and if so, display a message to the user and stop the session. The following example will perform this task.
RX Script | Copy Code |
---|---|
If Bankroll units <= 0 then begin Display "You have lost your Bankroll balance." Stop Session end |