[Gambas-devel] New component for Gambas

David Villalobos Cambronero david_villalobos_c at ...7...
Thu Apr 3 16:09:22 CEST 2008


Yes again, but not all MySQL data types are defined in Gambas (of course) and What I want is difine all of them since types like Integer has arguments.

But what I will do is, as much as I can I will use Gambas data types for MySQL.

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 7:44:06 AM
Subject: Re: [Gambas-devel] New component for Gambas

On jeudi 3 avril 2008, David Villalobos Cambronero wrote:
> 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
>

To force the compiler to interpret a token as an identifier, do that:

Public Const {Time} As String = "TIME"

And why defining constants, if datatypes as string are already constants?

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