Rexx Programming/How to Rexx/block

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

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

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

do

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

end