Anonymous user
CIniFile: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 122: | Line 122: | ||
Set pbDoLogin to (ReadString(hoIni, "Database Login", "DoLogin", pbDoLogin(Self))) | Set pbDoLogin to (ReadString(hoIni, "Database Login", "DoLogin", pbDoLogin(Self))) | ||
But some might | But some might consider that a bridge too far! | ||
The cIniFile has other methods as well: it can write as well as read (WriteString, DeleteKey and DeleteSection) and can dynamically determine the contents of the file (ReadSections, ReadSection, SectionExists and KeyExists) - see the VDF Help for full information - but the ReadString method is the one you will need in most circumstances. | The cIniFile has other methods as well: it can write as well as read (WriteString, DeleteKey and DeleteSection) and can dynamically determine the contents of the file (ReadSections, ReadSection, SectionExists and KeyExists) - see the VDF Help for full information - but the ReadString method is the one you will need in most circumstances. |