Hello all,quick question. I have to (not my option,has to be that way) make an array with huge length, definitely more than 100.000 ,maybe 1 million. But if i use a non-integer position counter (don't know the english word for it, like myArray and i is not integer) i get an error "array subscript is not an integer".Soooo hit me,what do i do?:p

Recommended Answers

All 2 Replies

But if i use a non-integer position counter

I fail to see how your requirement leads to needing a non-integer index.

thanks for VERY fast answer narue. I used a function in which i used 2 different position counters and messed things up,my thought was that it was integers to blame,i thought the counter would be limited to to 30 something thousands,but no, it was my dumb mistake.Thanks again!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.