[Gambas-user] Re: [Gambas-devel] Release of gambas2 1.9.11
Benoit Minisini
gambas at ...1...
Fri Jul 8 16:27:22 CEST 2005
On Wednesday 06 July 2005 22:20, PV wrote:
> On 06/07/2005 19:24, Benoit Minisini wrote:
> > Hi,
> >
> > Here is a big important release of the development version.
> >
> > Many new syntaxes and features were added to the compiler and the
> > interpreter, the bytecode has changes, and so ALL PROJECTS MUST BE
> > *ENTIRELY* RECOMPILED!
>
> [snip]
>
> I haven't seen this mentioned in the Changelog but it seems that in this
> release an expression that evaluates to true is replaced by 1 in a
> numerical context, whereas in previous releases it was replaced by -1.
>
> Example:
> let x = 10
> in Gambas <= 1.9.10, an expression like x * (x > 0) evaluated to -10
> in Gambas 1.9.11 the same expression evaluates to 10.
>
> Is it right?
>
> Ciao,
> Piero
>
Mmm... No ? If you get that, this is a bug!
--
Benoit Minisini
mailto:gambas at ...1...
More information about the User
mailing list