Lexical - F$ENVIRONMENT
Get information about the process
$ vbl = F$ENVIRONMENT( keyword )
CAPTIVE “TRUE” or “FALSE”
DEFAULT Current default ddcu:[dir]
PROCEDURE Fully qualified filespec.
Notes:
The F$ENVIRONMENT() lexical can be used to get information about the current process environment.
The example keywords shown are some of the more useful keywords. Other keywords are available to determine the CONTROL characters currently enabled, the current procedure depth, the current DCL prompt string, the current default file protection, the current symbol scope, etc.