[Gambas-user] Val function changed behaviour, porting gambas2 to gambas3
Benoît Minisini
gambas at ...1...
Wed Nov 2 17:16:59 CET 2016
Le 02/11/2016 à 16:49, Rolf-Werner Eilert a écrit :
> The new behaviour of val() drove me nuts when it appeared first ;) I had
> used it in so many places, and all over my code. Sometimes it lasts for
> weeks until your program hits this place, and AGAIN val() Arrgh... :)
>
> So in most cases, I ended up either checking for null before (somewhat
> roundabout) or just using CInt() instead.
>
> Regards
> Rolf
>
This change was needed, because Val() now takes thousand separators into
account, and some language uses spaces for that.
Regards,
--
Benoît Minisini
More information about the User
mailing list