[Gambas-user] Removing / Modifying IsXXXX() functions in Gambas3

Benoît Minisini gambas at ...1...
Thu Nov 25 00:33:33 CET 2010


> Benoit,
> The IsXXX functions confused me because when testing IsNumber("123") I
> got an error similar to "Expected number got a string". It seems you
> needed to know the type before testing for it. 

Yes. Not really useful, except with variants.

> I therefore do not use
> it. However I believe new versions of software should be backward
> compatible so I suggest giving the new functions a slightly different
> name. EG: IsNumeric.
> Regards
> Mike
> 

I think I can be not backward compatible there, because nobody apparently uses 
this useless function. I don't want to keep these useless functions in the 
interpreter.

Regards,

-- 
Benoît Minisini




More information about the User mailing list