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

2010-11-24 Thread Benoît Minisini
Hi, I'm currently thinking about modifying/removing all Is() functions in Gambas 3. They mainly test the datatype of their expression. So, either the datatype is known at compile time, and there should be no need of testing it ; either you are using a Variant, and you can use TypeOf() to

Re: [Gambas-user] Removing / Modifying IsXXXX() functions in Gambas 3

2010-11-24 Thread Ron
On 24-11-2010 12:08, Benoît Minisini wrote: Hi, I'm currently thinking about modifying/removing all Is() functions in Gambas 3. They mainly test the datatype of their expression. So, either the datatype is known at compile time, and there should be no need of testing it ; either you

Re: [Gambas-user] Removing / Modifying IsXXXX() functions in Gambas 3

2010-11-24 Thread richard terry
On Wednesday 24 November 2010 22:08:34 Benoît Minisini wrote: Hi Benoit I use isDate() quite a lot, isNumber I think once Regards richard Hi, I'm currently thinking about modifying/removing all Is() functions in Gambas 3. They mainly test the datatype of their expression. So, either

Re: [Gambas-user] Removing / Modifying IsXXXX() functions in Gambas 3

2010-11-24 Thread Bruce Bruen
On Wed, 24 Nov 2010 09:38:34 pm Benoît Minisini wrote: Hi, I'm currently thinking about modifying/removing all Is() functions in Gambas 3. They mainly test the datatype of their expression. So, either the datatype is known at compile time, and there should be no need of testing it ;

Re: [Gambas-user] Removing / Modifying IsXXXX() functions in Gambas 3

2010-11-24 Thread Rolf-Werner Eilert
Am 24.11.2010 12:08, schrieb Benoît Minisini: Hi, I'm currently thinking about modifying/removing all Is() functions in Gambas 3. They mainly test the datatype of their expression. So, either the datatype is known at compile time, and there should be no need of testing it ; either you

Re: [Gambas-user] Removing / Modifying IsXXXX() functions in Gambas 3

2010-11-24 Thread Benoît Minisini
If I understand you right, If Not IsDigit(TextBox.Text) Then... wouldn't be changed? No. All IsXXX() functions that just test characters won't be changed. -- Benoît Minisini -- Increase Visibility of

Re: [Gambas-user] Removing / Modifying IsXXXX() functions in Gambas 3

2010-11-24 Thread Michael
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. I therefore do not use it. However I believe new versions of software should be backward compatible so