Programming Reference Manual
 
Syntax
 
ReadIni$(section$,item$[,filename$][,default$])
 
Description
Returns a String containing the specified item from an ini file. 
 
Parameter
Description
section$
String specifying the section that contains the desired variable, such as windows. Section names are specified without the enclosing brackets.
item$
String specifying the item whose value is to be retrieved.
filename$
Optional. String containing the name of the ini file to read. If omitted, CBBS32.INI from the %WinDir% is assumed.
default$
When the item is not found in the .ini file, this optional parameter can be used to provide a default value.
See Also
Example
 
Sub Main
    Debug.Print ReadIni(“Editor”,”Name”)
    ‘displays the font used for the CCL/32 IDE.
End Sub