?? The array name is "tenTimes".In the code you give you know that theArray[15] has nothing
in it.
It has "150"
Craig
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
?? The array name is "tenTimes".In the code you give you know that theArray[15] has nothing
in it.
LC arrays are associative and have no default order. If the script requires a particular order, sort the keys before operating on them and you'll get what you want. In this case, it sounds like you want to sort numeric.RossG wrote:A curiousity: seems that LC accesses arrays in a rather odd
DOS way i.e. in DOS if you highlight ten file to delete it will first
delete file 1 then file 10, file 9 etc. down to file 2.
Also note that deleted variables don't leave a blank line and
the remaining entries in the array keep their original index numbers
so the number of variables in the array can't be used to ascertain
the next index for adding a new variable.