Also that would prevent mix up with IsXXX functions when moving from Gambas
2 to 3.
Jussi
On Tue, Dec 21, 2010 at 19:18, Jussi Lahtinen wrote:
> I was wondering if some (definitely not all!) of IsXXX functions should
> have different names, example SafeForXXX or similar?
> That would describe t
I was wondering if some (definitely not all!) of IsXXX functions should have
different names, example SafeForXXX or similar?
That would describe their new functionality better.
Example, IsNull really tells if value Is Null or not (so IsNull is good
name), but IsFloat tells only if value is safe to
> I think it's right, because an integer isn't a float. Maybe you're thinking
> in other function like "CanBeConvertedToFloat()" (doesn't exist in gambas
> but it's on my own functions set).
>
> Regards,
> Ricardo Díaz
>
I think Jussi is right there. After all, an Integer or a Long can always be
I think it's right, because an integer isn't a float. Maybe you're thinking
in other function like "CanBeConvertedToFloat()" (doesn't exist in gambas
but it's on my own functions set).
Regards,
Ricardo Díaz
2010/12/20 Jussi Lahtinen
> Hi!
>
> Is this correct;
> ? IsFloat("123")
> False
>
> 123