Please enable JavaScript to view this site.

ESL Release Notes

The following routines provide access to the System Environment Variable:

OS_QueryEnvironment

Returns a "newline" (\n) delimited list of all the Environment Variables.

OS_GetEnvVariable

Returns a string containing the value of the specified Environment Variable. If the variable does not exist then a blank string is returned.

OS_ExpandEnvironment

Converts a string containing embedded Environment Variable names in the format "%VAR_NAME%" to a string containing the original content with the Variable Name replaced by their values. The maximum size of the string to be returned is 260 characters, which is also the maximum length of a fully qualified file name. If an embedded variable does not exist, it will be returned as is.