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

Glossary Item Box

Locate Number Forward

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

where

Description

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

The source Record Layout identifier 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 forward (after spins), we can see that number 3 has appeared 9 spins after number 11.

Example

We want to locate a roulette number that had appeared 4 spins after number 29.  We do this by:

  1. Assigning the Number 29 to the layout value of data record number 29

  2. Use the Locate Number Forward identifier to find a number that has appeared 4 spins after data record number 29 to the layout value of data record number.

The following example will perform this task.

RX Script Copy Code
While Starting a New Session
begin
  Copy Number 29 to Record "number 29" layout
end

Locate Number Forward 4 spins from the Record "number 29" layout to Record "number" layout

Results from example

Copyright © 2003 UX Software. All rights reserved