[Gambas-user] Date format
Jack
jscops at ...11...
Sat Apr 10 01:21:36 CEST 2004
Thanks you very mutch Ron (And other s Gambers) for your answers. I progress a
lot in Gambas ( and in English too).
Now i have this odd thing.
When i ask the below function with a date = "09/04/04" i have no problem.
But when i ask the same function with a date = "31/04/04" i have a gambas
error like
"Type mismatch: wanted date, got String instead"
Please, why The Catch function isn't operate ? What is wrong ?
My function
PUBLIC FUNCTION Cdate_calc(Dte AS String) AS String
Datej.text = ""
FINALLY
RETURN CDate(Dte)
CATCH
message.Error("Verifiez votre saisie SVP !")
END
More information about the User
mailing list