get_parms

Reads environmental variables from an initialization file.

Syntax

int get_parms()

Description

Since ChemBio operates over networks, addresses to servers, files and applications as well as environmental variables must be defined in an initialization file. get_parms() reads this file and loads the environmental variables into global variables in the main trigger of the ChemBio application. If the initialization file is opened successfully, TRUE is returned. If the initialization file could not be opened, FALSE is returned and error_msg() is displayed.

Example

 ...
 if (get_parms()) return;
 ...
 }


Updated 19 May 1999. Copyright DataAspects Corp. 1998-1999