Statement: Condition, Type: Block
Group
Format: Group
begin-identifier
end-identifier
where
-
begin-identifier = the begin keyword identifier to denote the beginning of a group block
-
end-identifier = the end keyword identifier to denote the end of a group block.
Description
The Group identifier is a special condition statement that always evaluates as true so the program control is passed to the body of the group block where all input action statements are executed.
The main purpose of the Group identifier is to allow user defined input action statements to be displayed within a single view. Each input action statement will be created and displayed on the view in a sequential order. The advantage of the Group identifier is to prevent having multiple views displayed one at a time during your session.
Example
When initializing a new session, we want to display a single view that contains the following:
-
Display: short message noting when a session will end.
-
Input Dropdown: choose a roulette table.
-
Input Data: enter a starting bankroll.
The following example will perform this task.
RX Script | Copy Code |
---|---|
Group begin Display "Session will END when ALL sequences are met or your starting Bankroll has been depleted." Input Dropdown "What Table Layout do you want to use? 1:=European 2:=American" to record "table" data Input Data "Enter starting Bankroll:" to record "bankroll" data end |