GetString Method
The GetString method returns the specified keyword-value entry as a StringObject.
This method has the following syntax:
StringObject = EntryObject.GetString()
Example—GetString method:
INITIALIZE()=
DECLARE
ini = ProfileObject;
str = StringObject default null;
productGUID = varchar(256) not null;
ENDDECLARE
{
ini.ReadProfile (IniFile = 'c:\myproduct\setup.ini');
str = ini.Contents[1].Entries[2].GetString();
productGUID = str.Value;
}
Last modified date: 06/25/2024