Roulette Xtreme 2.0 - System Designer
Subtract
Identifier Index > S > Subtract

Glossary Item Box

Subtract

Format:  Subtract  integer  dest-support-action

where

Description

The Subtract identifier reads the integer and performs a straight subtraction to the existing value of dest-support-action.

Formula

The mathematical formula for this action statement is: dest-support-action = dest-support-action - integer

Example 1

We have a 10 unit bet already placed on roulette layout Number 30.  Now we wish to decrease the bet by 2 units. The following example will perform this task.  

RX Script Copy Code
Subtract 2 units from Number 30

Before                After

Example 2

We have created a bet progression sequence of: 1,2,4,6,8,16,32,64.  We assigned the sequence list to a data record progression.  Every time we win a bet on roulette layout black, we decrease the record's data index by 1 in order to select the previous progression.  The following example will perform this task.

Before

RX Script Copy Code
if Black has won each time
begin
  Subtract 1 from record "progression" data index
end

After

Copyright © 2003 UX Software. All rights reserved