Jump to content

Recommended Posts

Posted

Hi, what's the problem in this source ? i have a similar source to it, the problem is the inireadsectionnames reads just 239 section while there's 2000 section in the txt file here's the source :

$writes = "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"
for $i = 1 to 2000
FileWrite("lk.txt","[" & $i & "  " & $writes & "]" & @CRLF & @CRLF)
Next

MsgBox(0,"",UBound(IniReadSectionNames("lk.txt")))

I wish if u could tell me another way to read the section name.

Posted

i also tried the (ex: of 123456) and it works the question here is why the number i wrote above didn't work ? bec the length ?

Posted

Ini files have a 32kb limitation, when using large Ini files I use @SmOke_N awesome Ini+Ex udf (see link below) , this has always worked for me.  If you try it on your code you'll see it now displays all 2000 sections.

 

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...