>>-SETLOCAL()--------------------------------------------------><
Example 7.70. Builtin function SETLOCAL
/* Current path is "user/bin" */ n = SETLOCAL() /* saves all environment settings */ /* Now use the VALUE function to change the PATH variable */ p = VALUE("Path","home/user/bin"."ENVIRONMENT") /* Programs in directory home/user/bin can now be run */ n = ENDLOCAL() /* restores initial environment including */ /* the changed PATH variable, which is */ /* "user/bin" */