Roulette Xtreme 2.0 - System Designer
Less than or equal to
Identifier Index > L > Less than or equal to

Glossary Item Box

<=  (less than or equal to symbol)

Format:  initial-condition-statement  source-support-condition  <= dest-support-condition

where

Description

The <= (less than or equal to symbol) identifier reads the source-support-condition value and performs a logical comparison to determine if the value is less than or equal to the value located at the dest-support-condition.   The source-support-condition can only contain a numeric value when performing a comparison with the <= (less than or equal to symbol) identifier.  

When performing a less than or equal to comparison between the source-support-condition and dest-support-condition identifiers, if the condition outcome is evaluated as true and the program control will be passed to the body of the condition block.

Numeric types

Below are some examples when performing a comparison to a numeric value:

  • comparing Bankroll data to a specific unit amount

  • comparing Record Data to another Record Data or specific value

  • comparing Win units to a specific unit or contents of a Record Data

Example

During our system, we are placing bets on several roulette layouts.  At some point, we are determining if we have depleted our Bankroll balance and if so, display a message to the user and stop the session.  The following example will perform this task.

RX Script Copy Code
If Bankroll units <= 0 then
begin
  Display "You have lost your Bankroll balance."
  Stop Session
end

Copyright © 2003 UX Software. All rights reserved