gcue Posted September 9, 2008 Posted September 9, 2008 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)
monoceres Posted September 9, 2008 Posted September 9, 2008 You have heard of the UBound() function, have you? Broken link? PM me and I'll send you the file!
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