Jump to content

after trimming an array.. i lose the record count


gcue
 Share

Recommended Posts

before the trim i can see the number of records in $arecords[0][0], after the trim i lose that number =/

id like to get that number back so i can use it in a for loop.

any ideas?

Global $File = "mons.txt"

Dim $aRecords
If Not _FileReadToArray($File,$aRecords) Then
   MsgBox(4096,"Error", " Error reading file.")
   Exit
EndIf

_ArrayTrim($aRecords, 27)
_ArrayDisplay($aRecords)
Link to comment
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
 Share

  • Recently Browsing   0 members

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