Rexx Programming/How to Rexx/block

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Grouping statements into blocks using do and end constructs[edit | edit source]

Statements can be grouped together into a block by using do and end syntactical components:

do
 say "Time has run out!"
 eggsready = -1
end