Statement: Condition, Type: Supporting
Record Layout
Format: initial-condition-statement Record "record-name" Layout { support-condition dest-support-condition }
where
-
initial-condition-statement = any valid condition statement that use these identifiers listed below
-
record-name = the text name of the data record enclosed in quotation marks " " that will used to reference this record.
-
support-condition = if applicable, one or more of any valid series of supporting condition identifiers listed below:
-
dest-support-condition = if applicable, any one of the valid destination supporting condition identifiers listed below:
-
integer, All Bets, All Outside, All Inside, Record Data, Record Layout, Record Data Index, Record Layout Index, Record Layout Count
-
any roulette table layout identifiers
-
Description
The Record Layout identifier reads the record-name and creates a data record if it does not already exist. When referring to the Record Layout, you always identify the data record by its record-name which is inserted between the Record and Layout identifiers; i.e. Record "record-name" Layout. This instructs the designed system that you are referencing the layout field of the record that contains roulette layout information.
When using the data record in a condition statement, the layout value of the Record Layout is compared against another supporting condition identifier to produce a logical true or false result. When the outcome of the condition is evaluated as true the program control is passed to the body of the condition block.
For more information, see Data Records.
Example 1
We store the last even money Red, Black that appears to the Record Layout value of data record last color. Using that information, we place a progression bet on that layout. A condition statement is used to determine if the data record last color has won. If the condition is true (our bet was won), we will reset our progression unit back 1. The following example will perform this task.
RX Script | Copy Code |
---|---|
If Record "last color" layout has won each time begin Put 1 unit on Record "progression" data end |
Example 2
We want to track the last 10 numbers that have appeared. During this process, we only need to track non-duplicate numbers. When a spin is processed, the last number is stored in the Record Layout value of data record last number. This last number is compared to the Record Layout item list in the data record track last 10. If the last number is not found in data record track last 10, the condition will be evaluated as true and the last number will be appended to the data record track last 10. The following example will perform this task.
RX Script | Copy Code |
---|---|
If Record "last number" layout is not found in Record "track last 10" Layout begin Track last Number for 10 occurrences to Record "track last 10" Layout end |