1 groovy comment //hello.groovy
2 groovy code println "hello, world"
3 groovy code for (arg in this.args ) {
4 groovy code println "Argument:" + arg;
6 groovy comment // this is a comment
7 groovy comment /* a block comment, commenting out an alternative to above:
8 groovy comment this.args.each{ arg -> println "hello, ${arg}"}