[Gambas-devel] gb3: recent revision regarding FOR...NEXT loops and counter variables

Kevin Fishburne kevinfishburne at ...590...
Fri Sep 2 00:14:06 CEST 2011


On 09/01/2011 05:28 PM, Benoît Minisini wrote:
>> Would be nicer if it simply halted execution with an overflow error.
>> Silent overflow could be used as a feature, but if it was unintentional
>> it would be hard to find the error in logic if you didn't realize what
>> was happening. The program would keep running but behave unexpectedly.
>> Are people actually using this as a feature by intentionally overflowing
>> variables?
> I can't detect overflow in C fast enough. Doing that will slow down the
> interpreter a lot.

Understood. I'll update my code accordingly. The docs at

http://gambasdoc.org/help/lang/for

might want to mention this however, to lessen the gnashing of teeth when 
gb3 is released.

-- 
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