Groovy web console

subscribe to the feed Subscribe
to this

Sample list

Published 8 months ago by nelson lopez with tags collections
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 click on the output tab