< Rexx Programming < How to Rexx

Grouping statements into blocks using do and end constructs

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

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

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.