[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gambas-user
Subject:    Re: [Gambas-user] Convertion bug or problemm undestood !!!
From:       Benoit Minisini <gambas () users ! sourceforge ! net>
Date:       2003-11-12 18:58:03
[Download RAW message or body]

Le Mercredi 12 Novembre 2003 00:31, Rob a écrit :
> On Tuesday 11 November 2003 14:27, Benoit Minisini wrote:
> >   TRY vVal = Val(sData)
> >   RETURN vVal
> >
> > I know that this is not the standard Basic behaviour, but
> > Gambas ALMOST means Basic! :-)
>
> Shouldn't IsNumber() be used in this particular case?
>
> Rob
>
>

You can, but using TRY is faster than doing the test yourself in Gambas !
Except if the case where the TRY fails happens the more frequently.

Regards,


-- 
Benoit Minisini
mailto:gambas@users.sourceforge.net



-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic