Please enable JavaScript to view this site.

A-Shell Development History

Navigation: Version 5.1/6.0, builds 1100-1271 > 1152 – 17 June 09

AG_SETENV

Scroll Prev Top Next More

The ATE command AG_SETENV (77) is used to set an environment variable:

? TAB(-10,AG_SETENV);"<var>=<value>";chr(127);

Example

? TAB(-10,AG_SETENV);"APEX=%MIAME%\cache";chr(127);

This defines (or redefines) the environment variable APEX to equal the specified directory, after first expanding the environment variable %MIAME%. Note that the APEX environment variable defines where ATE puts the print files captured for local print or preview operations.