[Gambas-bugtracker] Bug #2198: if with inline code fails

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Sat May 29 03:12:52 CEST 2021


http://gambaswiki.org/bugtracker/edit?object=BUG.2198&from=L21haW4-

Comment #1 by Benoît MINISINI:

It's a bug in Gambas, triggered by you doing an AND between an integer and a floating point number.

board[i] And ((colroot * shiftpos) + (colroot / shiftpos))

(colroot / shiftpos) is a float, so ((colroot * shiftpos) + (colroot / shiftpos)) is a float too.




More information about the Bugtracker mailing list