Hypertrophy Posted August 4, 2009 Posted August 4, 2009 title. how do i find out how many keys are in my ini file? I've tried this: $inisection = IniReadSection($ini, "Section1") For $i=1 To $inisection[0][0] Msgbox(0,"",$inisection[0][0]) Next But it keeps returning 1002, even though I only have 1000 keys. ?
Andreik Posted August 4, 2009 Posted August 4, 2009 The number of elements returned will be in $result[0][0]. With your example you can check what 2 sections doesn't exist if you have just 1000.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now