Setting a Boolean Value in the Initialization File

The josIniFileSetBoolean call, shown in the following example, sets the Boolean key value in the specified section of the JADE initialization file.

int josIniFileSetBoolean(const Character * pIniFileName,
                         const Character * pSection,
                         const Character * pKey,
                         bool              bValue);

The parameters for this call are listed in the following table.

Parameter Description
pIniFileName Name of the JADE initialization file
pSection Name of the section in the JADE initialization file
pKey Name of the Boolean key in the JADE initialization file section
bValue Boolean value that is written to the specified key and section of the JADE initialization file