Function : OS Environment Variables

OSGetEnvironmentLong - Return "long" value of an environment variable.
----------------------------------------------------------------------------------------------------------

#include <osenv.h>

long LNPUBLIC OSGetEnvironmentLong(
const char far *VariableName
);

Description :

This function takes the specified environment string, converts the text associated with it into type "long", and returns that value to the current context.

Domino or Notes environment variables are stored in notes.ini, and can be set from the Lotus Domino Server via the SET CONFIG console command.

Example (from Server Console):
SET CONFIG TEST_LONG=74000


Parameters :

See Also :

OSGetEnvironmentInt
----------------------------------------------------------------------------------------------------------