Hi!
I don't quite understand how this should work...

IsDate(Now) returns False, and IsDate(Str(Now)) returns True.

I don't understand why IsXXX functions accept anything else than string.
Help window says 'IsDate(Value As Variant) As Boolean' and below it it
continues 'IsDate( String ) As Boolean'. See attachment.
This creates confusion, especially when IsDate(Now) = False!

So, if IsXXX functions are meant to handle only strings, why they don't
strictly accept only strings?


Gambas 3 rev 3384 @ Ubuntu 10.10 64bit

Jussi

<<attachment: whichone.jpg>>

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

Reply via email to