xcall MIAMEX,56,ENVVAR,ENVVAL{,STATUS} may now be used to define arbitrary environment variables. Use MIAMEX,31 (MX_GETENV) to retrieve environment variable definitions. STATUS returns the following:
Value |
Description |
---|---|
0 |
Success |
-1 |
General error |
-2 |
Overflow of memory set aside for environment variables. |