Statement: Condition, Type: Supporting
= (equal 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:
-
Any Number Bet, Any Zero Bet, Any Inside Bet, Any Outside Bet, Any Dozen Bet, Any Column Bet, Any Line Bet, Any Split Bet, Any Street Bet, Any Corner Bet, Any Even Bet, Any Record Data, Any Record Layout
-
Record Data, Record Layout, Record Data Index, Record Layout Index, Record Data Count, Record Layout Count
-
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 = (equal symbol) identifier reads the source-support-condition value and performs a logical equal comparison to the value located at the dest-support-condition, meaning that the values of both condition identifiers are the same. Depending on the source-support-condition identifier, the value can be either in the form of a numeric or layout value.
When performing an equal comparison between the source-support-condition and dest-support-condition identifiers, if the condition outcome is evaluated as true, then 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
Layout types
Below are some examples when performing a comparison to some layout value:
-
comparing Record Layout value to a roulette table layout (i.e. 1st Dozen, Red, Number 19)
-
comparing Record Layout to another Record Layout
Example 1
During our system, we are placing bets on several roulette layouts. At some point, we are determining if our Bankroll has reached 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 |
Example 2
After every spin, we are capturing the last number that has appeared to a data record last number. We then perform a comparison to the data record last number to determine the number was the individual roulette number 0 and if so, place a 10 unit bet on Red. The following example will perform this task.
RX Script | Copy Code |
---|---|
If Record "last number" layout = Number 0 begin Put 10 units on Red end |