> I use IsNull extensively, is that going to be removed? > > richard >
No. I use it extensively too. Here is the result of my thought: - You can know the datatype of a variant with the TypeOf() function. You don't have to use the current IsXXXX() functions. - But you often need to know if a string can be converted to a number, an integer, a float, a date. - You normally want to know that for localized strings get from the outside (i.e. the user). For non-localized strings, they are intern to your program, so you should know what you are doing. So: IsNull(x) -> kept its behaviour. IsInteger(x) -> If Val(x) returns an integer IsFloat(x) -> If Val(x) returns a float IsDate(x) -> If Val(x) returns a date They should be enough. But I could add: IsLong(x) -> If Val(x) returns a Long IsSingle(x) -> If Single(x) returns a Single. Regards, -- Benoît Minisini ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user