Programming Reference Manual
 
Syntax
 
WriteIni section$,ItemName$,value$[,filename$]
 
Description
Writes a new item or updates an existing item into 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 which item from within the given section you want to change. If ItemName$ is a zero-length string (“), then the entire section specified by section$ is deleted.
value$
String specifying the new value for the given item. If value$ is a zero-length string (“), then the item specified by ItemName$ is deleted from the ini file.
filename$
Optional. String containing the name of the ini file to read. If omitted, CBBS32.INI from the %WinDir% is assumed.
See Also
Example
 
Sub Main
    WriteIni “Editor”,”Name”,”Courier New”
    ‘Sets the font used for the CCL/32 IDE.
End Sub