Statement: Condition, Type: Supporting
Span
Format: initial-condition-statement source-support-condition Span integer dest-record-layout
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 roulette table layout identifiers
-
integer = any numeric variable
-
dest-record-layout = destination Record Layout identifier.
Description
The Span identifier is used to determine if two roulette individual numbers are equal to or less than a specified distance from each other located on the roulette wheel. The process steps to perform this task is listed below:
-
the identifier reads the source-support-condition layout value and dest-record-layout value. Both layout values must contain an individual roulette numbers.
-
the identifier validates that both layout values are individual roulette numbers and if not, display an error message to the user.
-
the identifier reads the integer value.
-
a comparison is made to determine if both individual roulette numbers are equal to or less than the integer distance on the roulette wheel.
-
if the condition outcome results of step 4 is true, program control will be passed to the body of the condition block.
Only individual roulette numbers are allowed to be used for the Span identifier. Any other layout is invalid and will result in an error message. |
Example
We want to determine if the last two numbers appearances are equal to of less than 4 gaps on the roulette wheel and if so, place a 2 unit neighbor bets for both numbers. The following example will perform this task.
RX Script | Copy Code |
---|---|
//copy previous number that has appeared to a data record Locate Number Backward 1 spin from Last Number to Record "number 2" Layout //copy last number that has appeared to a data record Copy last number to record "number 1" layout if record "number 1" layout span is within 4 gaps from Record "number 2" Layout begin //Set neighbor count Put 2 on Neighbor Count //copy neighbors from both numbers Copy Neighbors Record "number 1" layout to Record "neighbor of number 1" layout Copy Neighbors Record "number 2" layout to Record "neighbor of number 2" layout //place bets on the last two numbers put 2 units on record "number 1" layout Put 2 units on Record "number 2" layout //place bets on all neighbors Put 2 units on Record "neighbor of number 1" layout list Put 2 units on Record "neighbor of number 2" layout list end |