get_ini_setting (f, s, k)

The get_ini_setting(f, s, k) function returns the value of the key k in the section s of the initialization (ini) file f. All three parameters are of type Text. If the file f does not exist, or the section s cannot be located in this file, or the key k cannot be found in this section, the empty string is returned.

This function returns a value of type Text.

Example

If the file "dp.ini" contains the following section:

[Configuration] 
ItpServerName = core_01_5.8

Then

 get_ini_setting ("dp.ini", "Configuration", "ItpServerName") 

results in: "core_01_5.8"