Show Groovy console
Code: "groovy_console.groovy". Programming language: Groovy
DMelt Version 1. Last modified: 05/26/2016. License: Free
https://datamelt.org/code/cache/groovy_console_6370.groovy
To run this script using the DMelt IDE,
copy the above URL link to the menu [File]→[Read script from URL] of the DMelt IDE.
/*
@Grab(group='commons-lang', module='commons-lang', version='2.4')
import org.apache.commons.lang.WordUtils
println "Hello ${WordUtils.capitalize('world')}"
*/
import groovy.ui.Console;
Console console = new Console();
// console.setVariable("var1", getValueOfVar1());
// console.setVariable("var2", getValueOfVar2());
console.run();