[Gambas-user] Type of Variables possible?
Fabien Bodard
gambas.fr at ...626...
Mon Dec 28 12:14:31 CET 2009
use a class ;
TDBInfo
'Gambas Class
PUBLIC DatabasePath As String
PUBLIC DatabaseName As String
PUBLIC TableName As String
PUBLIC PurgeSQL As String
PUBLIC PurgeSQL2 As String
then :
Public DatabaseInfo As DBinfo[NUM_MAX_DB]
2009/12/28 Dr. Diesel <dr.diesel at ...626...>:
> Looking to do something like this from VB6
>
> Public DatabaseInfo(NUM_MAX_DB) As DBinfo
> Type DBinfo
> DatabasePath As String
> DatabaseName As String
> TableName As String
> PurgeSQL As String
> PurgeSQL2 As String
> End Type
>
> Any way to do types in gambas3?
>
> Many thanks
>
> --
> projecthuh.com
> All of my bits are free, are yours? Fedoraproject.org
> "I'd rather have dead offenders than repeat offenders" - Ted Nugent
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
More information about the User
mailing list