Page 1 of 1

INI Engine - Official Forum Thread

Posted: Sun Nov 08, 2009 2:18 pm
by shadowslash
This will be the official forum thread for the INI Engine that I made.

Features:
Read and write INI keys to and from INI files under specified sections.
Get the list of all the sections in an INI file.
Get the number of sections in an INI file.
Get the list of all the keys of a section in an INI file.
Get the number of keys of a section in an INI file.
Advanced detection for comments in an INI file so you're sure that comments aren't misunderstood by your program.

You can get all the versions at:
http://www.mediafire.com/?sharekey=e048 ... f8d7d408e9

Latest Version: 1.02 [Click to Download]

Code: Select all

CHANGELOG

v1.02
- Added more complexity in checking for valid keys.
- Added comment detection for ieAllKeys.
- Added comment detection for ieAllSections.
- Modified the text info and removed the title bar buttons. (You can close INI Engine using the "Exit" link at the field control.)
- [Bug:1] In the "ieAllKeys" function, if a section was preceeded by a commented section which has the same name, the keys of that section won't be detected.
    Ex:
          ;[english]           <- This commented item preceeds a same section.
          [english]
          key1=value1          <- The keys starting here til the end of the
          key2=value2             "english" section won't be detected.
          key3=value3

          ;Language -- PH      <- This commented item however, is NOT the same
          [tagalog]               as the section below so the keys from this
          key1=value1             section would still be read as what the
          key2=value2             "ieAllKeys" function is supposed to do.
          key3=value3

v1.01
- Redid the field control in the plugin's interface.
- Added the "ieAllSections" function that returns a list or the number of all valid sections in an INI file.
- Added TODO.txt to the package.
- Added the "ieAllKeys" function that returns a list or the number of all valid keys of a section in an INI file.

v1.00
- Primary release.
- Basic features.
- Available only through the Revolution Forums (http://forums.runrev.com/).

Code: Select all

TODO LIST

- = Not yet done.
+ = Done. (Stable)
* = Done but needs testing first. (Unstable)

---------------------------------------------------

[-] Auto start using option for the plugin.
[-] Optimize scripts.
[-] Add comment detection for the "ieRead" function.
[-] Add comment detection for the "ieWrite" function.

v1.02
[+] Add more complexity to checking for valid keys.
[*] Add comment detection for the "ieAllKeys" function.
[+] Add comment detection capabilities for the "ieAllSections" function.
[+] Fix ieAllKeys script. (Got sleepy last night so it's not yet finished.)

v1.01
[+] Add the "ieAllKeys" function which does pretty much what the "ieAllSections" function except for the fact that this one is for keys.
[+] Add an INI file structure example to the field control of the main card of the stack.
Please post your comments, suggestions, experience, etc. related to INI Engine to this thread. Any comments to improve INI Engine is greatly appreciated.

Posted: Sun Nov 08, 2009 2:26 pm
by malte
Hi shadowslash. What exactly is it?

Cheers,

Malte

Posted: Sun Nov 08, 2009 2:33 pm
by shadowslash
It's a PlugIn/AddOn or whatever you may want to call it, for Revolution, I noticed that INI file support is not really native in Revolution so I attempted to make a basic solution for programmers who prefer to save their program's settings into an INI file instead of other means. It has the basic functions namely reading and writing to an INI key at a specified section in a specified INI file.

Posted: Sun Nov 08, 2009 3:14 pm
by Mark
Dear shadowslash,

This might or might not be useful:

http://runrev.info/INI%20file%20information.htm

Best,

Mark

Posted: Sun Nov 08, 2009 3:22 pm
by shadowslash
Hi Mark,

Well I'll be danged! Image Didn't know that one existed! Well anywho, this AddOn is just a little project of mine because I didn't knew one existed... Image Thanks for pointing that topic to me, maybe I can even improve INI Engine by adding more functions or commands with this info... Image

Posted: Mon Nov 09, 2009 12:01 pm
by shadowslash
just updated INI Engine to v1.01 Image Please test it out and tell me if something isn't working... Image

Posted: Tue Nov 10, 2009 10:00 am
by jackro
shadowslash wrote:just updated INI Engine to v1.01 Image Please test it out and tell me if something isn't working... Image
found some bugs... i already emailed you w/ those that i found all in all it works quite without flaw so far except for those infos... also it doesn't find comments? :?: :D

Posted: Tue Nov 10, 2009 11:33 am
by shadowslash
Hi jackro,

Please check out the latest version if you'd happen to find any more problems (aside from the one stated of course). Thanks for the valuable info.. Image