[Gambas-user] Type of Variables possible?
Dr. Diesel
dr.diesel at ...626...
Tue Dec 29 11:40:46 CET 2009
On Tue, Dec 29, 2009 at 5:23 AM, Kadaitcha Man <
nospam.nospam.nospam at ...626...> wrote:
> 2009/12/29 Dr. Diesel <dr.diesel at ...626...>:
> > On Mon, Dec 28, 2009 at 6:14 AM, Fabien Bodard <gambas.fr at ...626...>
> 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
More information about the User
mailing list