Statement: Action, Type: Supporting
Record Data
Format: initial-action-statement Record "record-name" Data { dest-support-action }
where
-
initial-action-statement = any valid action 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.
-
dest-support-action = if applicable, any one of the valid destination supporting action identifiers listed below:
Description
The Record Data identifier reads the record-name and creates a data record if it does not already exist. When referring to the Record Data, you always identify the data record by its record-name which is inserted between the Record and Data identifiers; i.e. Record "record-name" Data. This instructs the designed system that you are referencing the data field of the record that contains numeric data.
When using the data record in an action statement, the data value of the Record Data is used to store numeric values. The numeric values can be a single number or a list of numbers that are separated by a comma , symbol which is referred to as an item list; i.e. 1,2,4,8,16,32,64. The advantages of an item list is the storage of a progression list when applying bets on roulette layouts. The stored data can be later referenced in another action statement or condition statement.
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. To do this, we will create a data record progression and assigned the sequence of numeric values to the data field. The following example will perform this task.
RX Script | Copy Code |
---|---|
Set List [1,2,4,6,8,16,32,64] to Record "progression" data |
Results from example 1
Example 2
We are providing a dialog box to allow the User to enter how many spins to wait before placing a bet. When the User clicks on the Ok button, the value located at the spin edit field will be assigned to the data value of record spin count. The following example will perform this task.
Example Title | Copy Code |
---|---|
Input Data "How many spins to wait?" to Record "spin count" data |