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
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
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
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 ;
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
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
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