[Include] eXtended INI Processor - Fast & Feature Rich INI Processor
#26

Quote:
Originally Posted by Nixtren
Посмотреть сообщение
Hi,

I would like to use this include, but I'm a bit lost and not sure if it's even possible. I want to dynamically load this .ini file:
Код:
[1]
PosX=10.0
[2]
PosX=7.0
[3]
PosX=8.0
I want to do something like this:
Код:
INI::ParseINI(myhandle,"LoadPositions",true, .passSectionParameter = true);
Код:
public LoadPositions(const key[],const value[], extra, section[])
{
    // I would to know which section is the key from
    // In this case, I would like to know if the "PosX" key I'm loading is from section 1, 2 or 3
}
Doing something like the following is not reliable for what I'm building:
Код:
public LoadPositions_Section1(const key[],const value[])
public LoadPositions_Section2(const key[],const value[])
public LoadPositions_Section3(const key[],const value[])
Thanks for the attention, and nice work you have done there! I'm amazed by how huge your documentation is. Btw, do you have any ideia how much time it took to write the include back in 2013?

Edit: I have edited your include to support what I wanted to achieve, here's the link for anyone wanting the same:
https://gist.github.com/Nixtren/c5957fa88da565c8ab70
When I made it back in 2013, it wasn't a complete INI Processor, it just had features which I needed for my gamemode. I recently edited it and added more features to make it a complete INI Reader/Writer. I am guessing if I had written this include in one go, it might have taken around 160 hours.

Currently it is not possible to get eINI do what you want. I will add this feature in the next update.
Next update will be available after 2 days.
Reply


Messages In This Thread
eXtended INI Processor - Fast & Feature Rich INI Processor - by Yashas - 08.05.2015, 07:17
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Gammix - 08.05.2015, 08:01
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Yashas - 08.05.2015, 08:07
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Whizion - 08.05.2015, 08:14
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Sellize - 08.05.2015, 08:36
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Amrev - 08.05.2015, 14:42
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by SpikY_ - 08.05.2015, 14:53
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Pottus - 08.05.2015, 15:02
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Yashas - 08.05.2015, 15:04
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Pottus - 08.05.2015, 15:12
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by iWhite - 27.05.2015, 19:37
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Yashas - 30.05.2015, 15:45
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by iWhite - 30.05.2015, 18:19
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Yashas - 30.05.2015, 18:52
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by iWhite - 30.05.2015, 18:57
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by theYiin - 17.06.2015, 17:47
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Yashas - 17.06.2015, 18:15
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by liquor - 12.07.2015, 19:18
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by HardWar - 12.07.2015, 22:39
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Yashas - 13.07.2015, 02:55
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by arvifilter - 18.08.2015, 13:41
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Yashas - 18.08.2015, 14:31
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by arvifilter - 18.08.2015, 15:20
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Yashas - 19.08.2015, 10:49
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Nixtren - 29.08.2015, 18:18
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Yashas - 31.08.2015, 10:16
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Stanford - 31.08.2015, 12:41
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by PrO.GameR - 01.09.2015, 16:39
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Yashas - 01.09.2015, 19:45

Forum Jump:


Users browsing this thread: 2 Guest(s)