Skip to content

Flow Control

Philip Ford edited this page May 28, 2017 · 5 revisions

There isn't much to say here. Groovy has the usual structures from other C-based languages. But its switch statement is far more powerful than Java's. It is more like the switch statement JavaScript or in PHP.

The switch statement

TBD

The for loop

TBD

Clone this wiki locally