Original Local Scoping (local / this)
Last updated
def "test_cmd" (
local hello = "Greetings!"
log hello
// logs "Greetings!"
hello ++= " I'm Mistium"
log hello
// logs "Greetings! I'm Mistium"
)
local hello = "hello world"
test_cmd
log hello
// logs "hello world"