Codebase list ohcount / 71f18fd0-2918-4673-9432-32d77816000d/main test / src_dir / groovy1.groovy
71f18fd0-2918-4673-9432-32d77816000d/main

Tree @71f18fd0-2918-4673-9432-32d77816000d/main (Download .tar.gz)

groovy1.groovy @71f18fd0-2918-4673-9432-32d77816000d/mainraw · history · blame

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