[Gambas-devel] New component for Gambas
David Villalobos Cambronero
david_villalobos_c at ...7...
Thu Apr 3 15:41:17 CEST 2008
Yes, they exists, but I need to use the same word but the type is not Date or Time is String
an example:
I need to do:
Public Const Time as String = "TIME"
But I cant use it since the word Time is a Keyword.
I can do:
Public Const Boolean as String = "BOOLEAN"
But can't use Time or Date. Don't know why?
Regards
David
----- Original Message ----
From: Benoit Minisini <gambas at ...1...>
To: mailing list for gambas developers <gambas-devel at lists.sourceforge.net>
Sent: Thursday, April 3, 2008 6:43:31 AM
Subject: Re: [Gambas-devel] New component for Gambas
On jeudi 3 avril 2008, David Villalobos Cambronero wrote:
> Hi Benoit,
>
> For my new Class (or component) I need to use Time and Date Keywords, since
> MySQL has those data types too.
>
> I need them to create constants for MySQL, what I want is have something
> like this MySQL.Date that gives the MySQL Date type, Is it possible to use
> them or I have to change the names?
>
> I could use Boolean data type, but not Date and Time at the moment, since I
> haven't finished.
>
> Regards
>
> David
>
I don't really understand. The constants for MySQL datatypes already exist,
they are the string "DATE" and "TIME".
--
Benoit Minisini
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Gambas-devel mailing list
Gambas-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-devel
____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.
http://tc.deals.yahoo.com/tc/blockbuster/text5.com
More information about the Devel
mailing list