GLBasic forum

Main forum => GLBasic - en => Topic started by: Hatonastick on 2009-Mar-16

Title: INI system questions.
Post by: Hatonastick on 2009-Mar-16
Hi guys, does anyone know what limitations the INI file system has?

Whats the largest INI file size you can have?

Would it be fast enough to turn into a limited sort of flat-text database (for my MUD server)?  Or am I better off making up my own?
Title: Re: INI system questions.
Post by: Kitty Hello on 2009-Mar-16
try it out. I think ini is pretty fast.
Title: Re: INI system questions.
Post by: Hatonastick on 2009-Mar-16
More than happy to mate, cause it would solve a lot of problems for me. :)

Is there a file size limit though?  That one is pretty important as they might get rather large.  Hmm unless I stick to small, individual files instead of trying to put a lot of records into one file.

Ah I'll give it a go anyway.

Edit: It is fast, but I can't store/retrieve multi-line strings so will have to come up with my own system...
Title: Re: INI system questions.
Post by: MrTAToad on 2009-Mar-16
Could always go for single line comments - and separate each by a comma or something.

One other limitation is that no comments are allowed between each section name.