Roulette Xtreme 2.0 - System Designer
Copy Neighbors
Identifier Index > C > Copy Neighbors

Glossary Item Box

Copy Neighbors

Format:  Copy Neighbors  support-action-layout  dest-record-layout

where

Description

The Copy Neighbors identifier reads the support-action-layout value which must contain an individual roulette number and copy its neighboring numbers on both sides of the support-action-layout that are located on the roulette wheel to a layout list located at the dest-record-layout.  

A neighbor is referred to as roulette numbers on each side of the source roulette number.  The quantity of roulette numbers to copy to the dest-record-layout is determined by the internal neighbors variable that was previous set by the Neighbor Count identifier.

When using the Record Layout identifier as the support-action-layout, it must only contain roulette individual numbers otherwise the system will default to the Number 0.

Example

We want to place a 1 unit bet on the last number that has appeared and its neighboring numbers of 5 numbers on each side.  To do this, we first set the neighbor count to 5 and then place bets on those neighbors.  The following example will perform this task.  

RX Script Copy Code
Put 5 to the Neighbor Count

Copy last Number to Record "last number" layout
Copy Neighbors of Record "last number" layout to record "neighbors" layout

Put 1 unit bet on Record "last number" layout
Put 1 unit bet on Record "neighbors" layout list

Results from example

Copyright © 2003 UX Software. All rights reserved