Err, integers! - resolved
Ello, first off; sorry I really couldn't think of a subject for this thread!
And now for the question... :D I was reading some code on VBnet and found a piece of code that has baffled me.
VB Code:
'if found is at 200, then add some more array elements
If found Mod 200 = 0 Then ReDim Preserve fArray(found + 200)
You see it? I don't understand the point of using 'Mod 200 = 0', what's wrong with just using 'found = 200'? :confused: Is there some sort of advantage noone has told me about with using Mod this way?
If anyone can explain why the coder has done this it'd make my day :), well not quite, but nearly. :p
-Cheers