[Gambas-devel] gb3: recent revision regarding FOR...NEXT loops and counter variables
Kevin Fishburne
kevinfishburne at ...590...
Thu Sep 1 08:42:53 CEST 2011
Holy shit something is seriously wrong with a recent commit. All my
loops are going infinitely by wrapping around to negative values. Guess
no one's using the most recent build or they'd have noticed. Try
something like this in a module with no other code:
' Gambas module file
Public Sub Main()
Dim Counter As Short
For Counter = 0 To 32767
Print Counter
Next
End
--
Kevin Fishburne
Eight Virtues
www: http://sales.eightvirtues.com
e-mail: sales at ...590...
phone: (770) 853-6271
More information about the Devel
mailing list