I'm facing an interesting issue, never faced before.
It's a simple FOR/NEXT loop but the value isn't incrementing? lol
Doing it on a new clean project, all seems fine, however the scenario is as follows.
Interesting thing now is, xLoop is always stuck on 0 and doesn't seem to increment ?
is this a VB Bug / Mem leak or something?
It's a simple FOR/NEXT loop but the value isn't incrementing? lol
Doing it on a new clean project, all seems fine, however the scenario is as follows.
Code:
Private Type mBanks
isFilled as Boolean
Pos as Integer
End Type
Dim Banks(60) as mBanks
Dim xLoop as Byte
For xLoop = 0 to UBound(Banks)
If Banks(xloop).isFilled = False then GoTo NextItem
'''''more stuff
NextItem:
Next
is this a VB Bug / Mem leak or something?