Roulette Xtreme 2.0 - System Designer
Locate Number Backward
Identifier Index > L > Locate Number Backward

Glossary Item Box

Locate Number Backward

Format:  Locate Number Backward  source-integer  source-support-action  dest-record-layout

where

  • source-integer = either a numeric variable or the value from the Record Data identifier.

  • source-support-action = a individual roulette number from either the Last Number or Record Layout identifier.

  • dest-record-layout = destination Record Layout identifier.

Description

The Locate Number Backward identifier locates a roulette number that had appeared source-integer spins prior to the source-support-action identifier and assigns the number to the dest-record-layout.  A spin is referred to the distance from the source and destination numbers.

When using the Record Layout identifier as the source-support-action, it must only contain roulette individual numbers otherwise an error message will be displayed.

Sample Spin Occurrence

00, 27, 10, 25, 29, 12, 8, 19, 31, 18, 6, 21, 33, 16, 4, 23, 35, 14, 2, 0, 28, 9, 26, 30, 11, 7, 20, 32, 17, 5, 22, 34, 15, 3, 24, 36, 13, 1 (last spin)

By referring to the spin occurrence listed above, the last number that has appeared is number 1.  Looking backwards (previous spins), we can see that number 17 is 9 spins from the last number that has appeared.

Example

We want to locate a roulette number that had appeared 4 spins prior to the last number.  We will store that value to the layout value of record number. The following example will perform this task.

RX Script Copy Code
Locate Number Backward 4 spins from the Last Number to Record "number" layout

Results from example

Copyright © 2003 UX Software. All rights reserved