Sorry, I know I'm a bit late replying on this post... but it just caught my eye and was never addressed.

The reason INI files are limited to 64k, is because the API functions (Microsoft) are still 16bit. (Probably for compatibility, I dunno. Yes, they could have been made 32bit, but they were not.)

As such, just like old text editors, INI files are limited to 65536 bytes (2^16). This is not a limitation that Khaled created, though I'm certain there are many work arounds available today. Such work-arounds may even lift the ~950 character "Line Too Long" limit, and allow $ini() to work with >64K files.

- Raccoon


Well. At least I won lunch.
Good philosophy, see good in bad, I like!