[Gambas-user] Const

Benoît Minisini benoit.minisini at gambas-basic.org
Fri Feb 23 11:04:56 CET 2024


Le 23/02/2024 à 10:54, Philippe Valarcher a écrit :
> I only mean this :
> In an old program before 3.19 I did  :
> 
> Public Const C As Float = 344
> Public Const PO As Float = 1.1803398875
> 
> In 3.19 when I compile those const. do not use the values in calculations.
> I had to to convert in :
> Public  C As Float = 344
> Public  PO As Float = 1.1803398875
> 
> For the calculations to be done the way it should.
> 

Please provide a short project that shows the bug.

Regards,

-- 
Benoît Minisini.



More information about the User mailing list