fi_envvar

Handle environment variables

int GetEnvironmentVariableAsBool(string sVarName, int nDefault = FALSE);
Parameters:
  • sVarName – Variable name

  • nDefault – Default value to return if absent

Return TRUE if environment variable sVarName is 1, “YES”, “Y”, “TRUE”

int GetEnvironmentVariableAsInt(string sVarName, int nDefault = 0);
Parameters:
  • sVarName – Variable name

  • nDefault – Default value to return if absent

Return value of environment variable sVarName