Roulette Xtreme 2.0 - System Designer
Record Data Index (Action)
Identifier Index > R > Record Data Index (Action)

Glossary Item Box

Record Data Index

Format:  initial-action-statement  Record  "record-name"  Data Index  { dest-support-action }

where

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 an action statement, the data index value of the Record Data Index is used to reference a list of data values within the data field that are separated by a comma , symbol; i.e. 1,2,4,8,16,32,64. The data index acts as a pointer to the location of each item in the list.  One advantage of the Record Data Index is referencing a progression list when applying bets on roulette layouts.  

Assuming that we had a progression list of 1,2,4,8,16,32,64 and we wanted to place a 16 unit bet on the roulette layout Black, we would set the data index value to 5 and then use the Record Data Index to reference the 5th position of the data list to place the 16 unit bet on the layout Black.

For more information, see Data Records.

Example 1

We want to create a bet progression sequence of: 1,2,4,6,8,16,32,64.  When initializing a new session, we will create a data record progression and assigned the sequence of numeric values to the data field.  Then we will set the data index value of record progression to 1 to reference the first data item in the list which is 1.  The following example will perform this task.

RX Script Copy Code
While Starting a New Session
begin
  Set List [1,2,4,6,8,16,32,64] to Record "progression" data
  Put 1 on Record "progression" data index
end

Results from example 1

Example 2

Using the progression setup example above, we want to place a bet on the roulette layout Black.  Every time Black has lost the bet, we will increase our bet by pointing to the next data item in the data record progression.  To do this, we increase the data index value by 1 which will point to the next item in the data field.  The following example will perform this task.  

RX Script Copy Code
While Black has lost each time
begin
  Add 1 to Record "progression" data index
end

Put 100% of Record "progression" data to Black

Copyright © 2003 UX Software. All rights reserved