KCML_Kconf_GetEnvironment

Purpose

Obtain a list of environment variables

Definition

DEFSUB 'KCML_Kconf_GetEnvironment(BYREF serviceName$, BYREF x$()_KCML_KconfEnv)) AS Bool

Parameters

serviceNameName of service
xRedimmed to number of environment

Return

TRUE for success

Description

Returns a array of KCML_KconfEnv records for each environment variable that has been defined in the kconf.xml configuration file. If serviceName$ is set the list of environment variables for the service is returned, otherwise the general environment list is returned. Environment variables that have been defined in an <include> file are returned.

See also

Internal KCML Functions, Internally defined structures and Internally defined enumerations and constants.