Codebase list ohcount / d4c3f612-6685-4dc0-9339-5433a0a275c0/main test / expected_dir / groovy1.groovy
d4c3f612-6685-4dc0-9339-5433a0a275c0/main

Tree @d4c3f612-6685-4dc0-9339-5433a0a275c0/main (Download .tar.gz)

groovy1.groovy @d4c3f612-6685-4dc0-9339-5433a0a275c0/mainraw · history · blame

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