MivaScript Builtin Function, Miva Merchant 9+
miva_getvarlist( scope )
<mvt:assign name="g.return_value" value="miva_getvarlist( scope )" />
Returns a comma-separated list of the names of all currently defined variables where: scope = the string literal "l", "g", "s" (i.e. local, global, system)
scope