On Tue, Dec 29, 2009 at 5:23 AM, Kadaitcha Man <
nospam.nospam.nos...@gmail.com> wrote:

> 2009/12/29 Dr. Diesel <dr.die...@gmail.com>:
> > On Mon, Dec 28, 2009 at 6:14 AM, Fabien Bodard <gambas...@gmail.com>
> wrote:
> >
> >> 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]
> >>
> >>
> > Thank you!  I can get this to work, just there seems no way to make it
> > global and accessable across different modules/classes.
>
> So pass the object around. That's what instantiated objects are for, hey.
>

Thanks for the help.  I just need to confirm if it is not currently possible
in gambas3 or am I just doing something wrong?



-- 
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to