This feature is available in 3ds Max 8 and higher
You can now specify a global variable name by preceeding the name with '::'. Such names are looked for only in the global variable pool, and will be created if they do not currently exist.
For example:
(
local pi = "Hello!"
format "% : %\n" pi ::pi
fn test x:pi y:::pi = format "% : %\n" x y
test()
)
Output:
Hello! : 3.14159
Hello! : 3.14159
See also