(Condition)Statement: Condition, Type: Supporting
Spin Count
Format: initial-condition-statement Spin Count support-condition dest-support-condition
where
-
initial-condition-statement = any valid condition statement that use these identifiers listed below
-
support-condition = any one of the valid series of supporting condition identifiers listed below:
-
dest-support-condition = any one of the valid destination supporting condition identifiers listed below:
-
integer, Record Data
-
Description
The Spin Count is a supporting condition identifier that references the internal variable spin count. Every time a number has appeared, the spin count variable is incremented by 1. Also, the information is displayed in the Summary Statistics window under the Other column. This condition statement can be used to see the contents of the internal variable and perform some logic condition based on it results.
When using the Spin Count identifier in a condition statement, the internal spin count variable uses the support-condition identifier to perform a comparison against another dest-support-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.
Example
During the system process, we are checking to determine if our spin count exceed the contents in data record Max spins and if so, place a 5 unit bet on RED and set the spin count variable to 0. The following example will perform this task.
RX Script | Copy Code |
---|---|
if Spin Count > Record "Max spins" Data begin put 5 on Red Reset Spin Count end |