Ello, first off; sorry I really couldn't think of a subject for this thread!
And now for the question...I was reading some code on VBnet and found a piece of code that has baffled me.
You see it? I don't understand the point of using 'Mod 200 = 0', what's wrong with just using 'found = 200'?VB Code:
'if found is at 200, then add some more array elements If found Mod 200 = 0 Then ReDim Preserve fArray(found + 200)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.
![]()
-Cheers




I was reading some code on
Is there some sort of advantage noone has told me about with using Mod this way?
, well not quite, but nearly.
Reply With Quote