Jump to content

Rexx Programming/How to Rexx/block

From Wikibooks, open books for an open world

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