Sign in to follow this  
Followers 0
Smorg

IniReadSection

2 posts in this topic

Success: Returns a 2 dimensional array where element[n][0] is the key and element[n][1] is the value.

How could this be? For each key there can be only one associated value. I would think it would be a 1 dimensional array in which each key element[x] would return its respective value.

with a 2d array this means you've got the number of elements squared values returned... wtf could all that stand for?

Share this post


Link to post
Share on other sites



Ahh nvm... I see. From the array you can get either the key or value depending on weather dimension 2 is 0 or 1, and the first dimension is the order that the pairs are read. Makes sense! ^^

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0