INI
Moderator: Moderators
INI
For people that want to use INI files without a dll, or going into the ZGE source. A bit of a unorthodox implementation, as you'd normally use associative arrays, or even better .. associative lists, but since those aren't supported, it's build on plain-ol' Arrays.
The attached example shows how to read from a ini .. but simply change the FileAction to write to write Make sure to set the Array sizes ( Section / Parameter / Buffer ) to suit the limitations you want to support.
+ @Ville : A read-only filesize property on the File component would be handy.
Please report any suggestions and / or problems.
K
- Attachments
-
- Ini.zip
- (3.62 KiB) Downloaded 974 times
- jph_wacheski
- Posts: 1005
- Joined: Sat Feb 16, 2008 8:10 pm
- Location: Canada
- Contact: