|
ReadINI() 
Reads the contents of an INI (configuration)
file.
Syntax
ReadINI(<cSection>, <cEntry>,
[<cINIFile>], [<cDefault>]) -> cValue
Arguments
<cSection> --> The section name of the
INI file.
<cEntry> --> The entry within the INI
file.
<cINIFile> --> The INI file to read. If
not specified, the system default INI file is read (typically
CAPWIN.INI or the file specified by the /CONFIG= parameter when the
application is started).
<cDefault> --> The default value to
return as a character string, if the entry is not found.
Returns
The value of the specified parameter. This value
is always returned as a character string.
Description
This function returns the entry value from the
specified section of an INI file.
Example
cValue :=
ReadINI("MySection", "File")
____________________________
Related Topics
Business
Function List
WriteINI()
|