IniReadValue(FileName,Section,ValueName)
Reads a value from an INI file.
Parameters:
FileName | The name of the INI file |
Section | The section where value is located |
ValueName | The name of the value |
Remarks:
The function will return EMPTY if the specified value could not be found. See INI functions for more information about INI files.
Example:
s=IniReadValue("win.ini","vCache","MaxCache")
If IsEmpty(s)=true then 'value does not exists
Disable
else 'values does exist!
'do something
end if