Groovy web console

subscribe to the feed Subscribe
to this
JAM Talk groovy console (via #groovywebconsole)
tweet this snippet Tweet

JAM Talk groovy console

Published 1 year ago by Adam P
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
echo "demo using an online groovy console" 

try {
    x = 1 / 0
catch(err) {
    status_msg = "ignoring error ${err.toString()}"
finally {
    println(status_msg ?: "hello world!")