Language Reference Guide : B. Dedicated User Classes for .INI File Support : EntryObject User Class : SetString Method
 
Share this page          
SetString Method
The SetString method changes the contents of the entry to the specified StringObject. This method is used by SectionObject.SetString (see SetString Method); you should not need to use it directly.
This method has the following syntax:
integer = EntryObject.SetString(LineIn = StringObject)
The method returns ER_USER1 if the entry includes both a keyword and a value, ER_USER2 if the entry includes only a keyword. Descriptions of system constant values and their numeric equivalents are listed in Error Codes.