mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jun 2003
Posts: 5
T
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
T
Joined: Jun 2003
Posts: 5
im using .INIs as my database for my scripts, but i got a BIG problem! i cant effectively use Lists when i need to add "[" and "]" to my entries...

The problem... is that $ini doesnt return "[" and "]" that i add to the ini with the WRITEINI commad, it returns me what it reads on the file (~)... i cant solve my problem! plz help!

I think I post this on the write section!
Thanks! cool

Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
Yes, there are many characters that cannot be used in INI sections, items or data. These include most all 'control characters' (characters with ASCII values between 0 and 31), as well as special characters [ ] = ; and many others. Some of these characters can be used as long as they're not the first character of the section or item name, but it's best to simply avoid them.

Depending on your unique situation, I might recommend making the transition over to hash tables... especially if the data is going to be queried often and speed is a factor.

- Raccoon


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Joined: Jun 2003
Posts: 5
T
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
T
Joined: Jun 2003
Posts: 5
Im using it for nickname and channel auto identification! :P
Ill try that! thanks! smile


Link Copied to Clipboard