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

Glossary Item Box

Locate Number Left

Format:  Locate Number Left  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 Left identifier locates a roulette number on the roulette wheel that is source-integer gaps to the left (counter-clockwise) from the source-support-action identifier and assigns the number to the dest-record-layout.  A gap is referred to as the distance between two numbers excluding the source and destination numbers.

The source Record Layout identifier must only contain roulette individual numbers otherwise an error message will be displayed.

Double Zero Wheel Linear Layout

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

By referring to the linear double zero wheel listed above, we can see that number 2 is 5 gaps to the left of number 11.

Single Zero Wheel Linear Layout

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

By referring to the linear single zero wheel listed above, we can see that number 34 is 14 gaps to the left of number 20.

Example

We want to locate a roulette number that is 3 gaps to the left of the last number that has appeared.  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 Left 3 gaps from the Last Number to Record "number" layout

Results from example

Copyright © 2003 UX Software. All rights reserved