Statement: Condition, Type: Supporting
> (greater than 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 > (greater than symbol) identifier reads the source-support-condition value and performs a logical comparison to determine if the value exceeds the value located at the dest-support-condition. The source-support-condition can only contain a numeric value when performing a comparison with the > (greater than symbol) identifier.
When performing a greater than 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 our Bankroll has exceeded our maximum win goal of 115 units 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 > 115 then begin Display "You have reached your Bankroll win limit." Stop Session end |