Statement: Condition, Type: Supporting
Record Data Index
Format: initial-condition-statement Record "record-name" Data Index { 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 Data Index identifier reads the record-name and creates a data record if it does not already exist. When referring to the Record Data Index, you always identify the data record by its record-name which is inserted between the Record and Data Index identifiers; i.e. Record "record-name" Data Index. This instructs the designed system that you are referencing the data index field of the record.
When using the data record in a condition statement, the data value of the Record Data Index 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
We have created a bet progression sequence of: 1,2,4,8,16,32,64 to a data record progression when initializing a new session. During our system process, we are placing a bet on the roulette layout Black. Every time the layout Black has lost, we increase the bet by using the Martingale progression. This is accomplished by incrementing the Record Data Index by 1 to point to the next item in the data record. If our next progression bet exceeds our maximum number of items, we want to reset the progression back to 1. To do this, we will compare the Record Data Index with the total number of items in the data list. If the Record Data Index exceeds the total count, reset the Record Data Index to 1. The following example will perform this task.
RX Script | Copy Code |
---|---|
If the Record "progression" data index > the Record "progression" data count begin Put 1 on Record "progression" data index end |