Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

GetEnv

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets a DOS environment variable.

Syntax

GetEnv(sName)

sName:

The name of the environment variable. The length of the name should not exceed 255 characters.

Return Value

The DOS environment variable (as a string).The return value returns up to 255 characters and is truncated if exceeds.

Example

/* Get the current DOS path. */
sPath = GetEnv("Path");

See Also

Miscellaneous Functions

In This Topic
TitleResults for “How to create a CRG?”Also Available in