I have a _command definition inside vusrmacs.e where I want to access the value of a system environment variable. Below is the actual code I am using. Unfortunately, it does not work. dir gets set to the string "GISCLUMPDIR" instead of this environment variable's value. How do I access a system environment variable from within Slick-C?
_command void sandbox() {
dir = ENV_ARG( "GISCLUMPDIR" )
messageNwait("GISCLUMPDIR = " :+ dir)
cdd( dir );
}