INI

Use this function to get the value of an INI option from the currently loaded INI files.

If there is more than one occurrence of a control group and option in the various INI files the system uses, like the FSIUSER.INI and the FSISYS.INI files, this function uses the values in the first control group and option it finds that matches the criteria you enter. The system usually first loads the FSIUSER.INI file, which tells it to then load the FSISYS.INI file.

Syntax

INI (Group, Option, Default)

Parameter

Description

Group

Enter the name of the INI control group name (valid string) which contains the INI option string you want to retrieve.

Option

Enter the name of the INI option (valid string) which contains the INI string value you want to retrieve. If the control group and option do not contain a string, the system returns a null value.

Default

(Optional) The default string value to return from the function instead of the actual control group and option value.

The system retrieves the specified control group and option string. The system returns one (1) if no errors occur and zero (0) if errors occur.

Example

This example:

INI("UserInfo","File")

retrieves the name of the user information file, as stored in this control group:

< UserInfo >
  File = 

See also