[Gambas-user] Possible error when doing math on bytes

Brian G brian at westwoodsvcs.com
Thu Jan 5 02:34:04 CET 2023


----- On Jan 4, 2023, at 10:41 AM, Brian G <brian at westwoodsvcs.com> wrote: 

> Will give it a try, thanks

> --
> Thanks
> Brian G
> Wednesday, 04 January 2023, 08:19AM -08:00 from Benoit Minisini [
> mailto:benoit.minisini at gambas-basic.org | benoit.minisini at gambas-basic.org ] :

>> Le 04/01/2023 à 13:14, Brian G a écrit :
>> > Thank you

>> > --
>> > Thanks
>> > Brian G


>> Hi,

>> The last commit has now a new 'System.IgnoreOverflow' property that
>> allows to toggle overflow detection off (it is TRUE by default).

>> Can you try it?

>> I didn't want to make an environment variable for that. Even if
>> praticle, I find it dangerous. I prefer it to be explicit in the code.

>> Beware that it has no effect on JIT compiled code, for performance
>> reasons. JIT compiled code always checks for overflow, except when the
>> UNSAFE keyword is used.

>> Regards,

>> --
>> Benoît Minisini.

>> ----[ [ http://gambaswiki.org/wiki/doc/netiquette |
>> http://gambaswiki.org/wiki/doc/netiquette ] ]----

> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
Yes it seem to be working as advertised, the default setting appears to be false. 

"Failure is the key to success; 
each mistake teaches us something" .. Morihei Ueshiba 
Brian G 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230104/5a369712/attachment.htm>


More information about the User mailing list