Roulette Xtreme 2.0 - System Designer
Condition Statements
System Language > Condition Statements

Glossary Item Box

Condition Statements

Condition statements are commands that forms a condition block.  The logical outcome will produces either a true or false result.  If the result is true, the condition block will execute.  Some conditions could be starting a new session or testing to see if the roulette layout black has appeared 5 times in a row.  The first part of a condition statement is a reserved word that initiates the condition followed by supporting identifiers to complete the condition statement.  

The system language can support multiple condition statements to form a complex condition block.  Two special conditions Or, And are used to concatenate multiple conditions together.  If the outcome of the entire multiple condition blocks becomes true, the condition block will execute.

Example 1

In this example, the condition While is the initial condition statement to test if a new session has been initiated when you select File > New from the Main view.  If a new session has been initiated, the condition block will execute.

RX Script Copy Code
While starting a new session
begin

end
The word a is free form text information to help make the condition statement easier to read.  The condition statement could have been written as: While starting new session which is completely valid.  Use free form text whenever possible to help make your statement easy to read.

Example 2

In this example, the condition block is comprised of multiple conditions. If is the initial condition statement to test if the roulette layout black has appeared more than 5 times.  And is the initial condition statement to test if the roulette layout 1st dozen has appeared more than 2 times.  Or is the initial condition statement to test if the roulette layout 3rd dozen has appeared more than 5 times.  If either the first two conditions or the third condition becomes true, the condition block will execute.

RX Script Copy Code
If  Black has hit more than 5 times
And 1st Dozen has hit more than 2 times
Or  3rd Dozen has hit more than 5 times
begin

end
The words has, than, times are free form text information to help make the condition statement easier to read.  One of the condition statements could have been written as: If Black hit more 5 which is completely valid.  Use free form text whenever possible to help make your statement easy to read.

Below is a complete list of initial condition statements listed by categories:

Initial Conditions

Continuation Conditions

Block Conditions

Copyright © 2003 UX Software. All rights reserved