Roulette Xtreme 2.0 - System Designer
Or
Identifier Index > O > Or

Glossary Item Box

Or

Format:  where-if-condition Or support-condition  { support-condition... }

where

  • where-if-condition = either the While or If initial condition statement

  • support-condition = one or more of any valid series of supporting condition identifiers to complete a condition statement.

Description

The Or identifier is used to build upon an existing condition statement that was initiated by either the While or If identifiers.  It reads the first support-condition to build a continuation condition statement and then append to the existing condition statement.  Depending on the initial support-condition one or more supporting condition identifiers may be required.  Once all required support-conditions are read and validated by the compiler, a disjunction condition block is created and based on the combined condition statements, the outcome results is either true or false.  

For an explanation on the condition block process, see While or If identifier.

Logical Process

The Or identifier is known as a logical disjunction in which the outcome results is true if any of the combined condition statements are true; else the outcome is false.  

The truth table below shows the Or logical operator and results for two condition statements: A or B.

A

B

A or B

False

False

False

False

True

True

True

False

True

True

True

True

When combining logical And identifiers with Or and Xor identifiers together to create a condition block, the system will create implied parentheses ( ) around the And identifier.  

The condition statement format:

if condition 1 And condition 2 Xor condition 3 And condition 4 Or condition 5 then .....

will be evaluated as

if ( condition 1 And condition 2 ) Xor (condition 3 And condition 4 ) Or ( condition 5 ) then .....

All of the And identifiers are evaluated first, then the results will be evaluated with the Or and Xor identifiers to determine the final outcome.

Example

We want to place bets on the roulette layout 1st Dozen and Column B.  Prior to placing bets on these layouts, we need to check:

  1. the layout 1st Dozen has appeared in 5 times

  2. the layout Column B has appear in 5 times.  

If any of these two conditions evaluate as true, we will be placing a 5 unit bet on these layouts.  The following example will perform this task.

RX Script Copy Code
If 1st Dozen has not hit in 5 times
Or Column B has not hit in 5 times
begin
  Put 5 units on 1st Dozen
  Put 5 units on Column B
end

Copyright © 2003 UX Software. All rights reserved