Groovy web console

subscribe to the feed Subscribe
to this

nelson snippets

Published 8 months ago by Nelson Lopez with tags collection basics
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
// Nelsons sample to show how to use this web tgool to learn Groovy
// working with Colelctions See

list = ['a', 'b', 'c'] 
list.each { val -> 
  println "my list item= $val"

// excute the above and clicj on the output tab