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 interpret as float.
So it doesn't really say if value *Is Float* or not.

What do you think?

Jussi




2010/12/21 Benoît Minisini <gam...@users.sourceforge.net>

> > 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
> converted to a Float.
>
> So I will modify IsFloat() accordingly, and it will becoming a synonymous
> of
> IsNumber().
>
> Regards,
>
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> Lotusphere 2011
> Register now for Lotusphere 2011 and learn how
> to connect the dots, take your collaborative environment
> to the next level, and enter the era of Social Business.
> http://p.sf.net/sfu/lotusphere-d2d
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to