Username
Password
Are you new? Sign up now
I’ve forgotten
Home
:.
Downloads
:.
Articles
:.
Projects
:.
Reviews
:.
Forums
:.
Arcade
:.
Klikcast
:.
GOTW
The Daily Click
::.
Forums
::.
Klik Coding Help
::.
Loading Ini plus contents into a list object?
Post Reply
Post Oekaki
Posted By
Message
Chris Burrows
Registered
14/09/2002
Points
2396
12th March, 2011 at 02:10:09 -
Hello,
Is it possible to load the contents of an Ini plus object into a list object one line at a time?
Say my ini contains:
[DATA]
Chris=$50
Tom=$99
Ross=$210
How do I make a list object display:
Chris=$50
Tom=$99
Ross=$210
Any help would be amazing! Thanks xxxxxxxxx
n/a
UrbanMonk
BRING BACK MITCH
Registered
07/07/2008
Points
49667
12th March, 2011 at 04:27:23 -
The string parser can load text files directly into memory
The edit box can load files into it's input field (enable multiline, and make it hidden)
Use either of the above options and use a loop to iterate through the file (starting at the 2nd line)
and add each line to the list one by one.
If you need more help I'm sure another user can make you an example.
n/a
Chris Burrows
Registered
14/09/2002
Points
2396
12th March, 2011 at 04:41:01 -
Thanks!
I'd really like to use the list object so I can have the user click on a line and then click a delete button. Deleting it from the ini and in turn the list. If you or anybody could make a short example file that would be wonderful.
n/a
Post Reply
1
All
Advertisement
Worth A Click