This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def a = 1 | |
b = 2 | |
def meth1(){ | |
c = 3 | |
def d = 4 | |
//println "a from meth1() : $a" //N --- Local to run() | |
println "b of script body from meth1() : $b" //Y | |
println "c of meth1() from meth1() : $c" //Y | |
println "d of meth1() from meth1() : $d" //Y |