Re: [Gambas-user] Type of Variables possible?

2009-12-29 Thread Dr. Diesel
On Tue, Dec 29, 2009 at 2:18 AM, charlesg char...@pearceshardware.co.ukwrote: Hi Project, Options, Module symbols are public by default=yes ? rgds Thank you, but I must still be confused. Please see the following example: I have the following in my startup class/form: Public

Re: [Gambas-user] Type of Variables possible?

2009-12-29 Thread Kadaitcha Man
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        

Re: [Gambas-user] Type of Variables possible?

2009-12-29 Thread Kadaitcha Man
2009/12/29 charlesg char...@pearceshardware.co.uk: Hi Project, Options, Module symbols are public by default=yes ? I'm sorry, Charles, but I must disagree with that solution. Some time back in the distant past (over 2yrs ago) there was a change in Gambas that meant the compiler made module

Re: [Gambas-user] Type of Variables possible?

2009-12-29 Thread Dr. Diesel
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 PUBLICDatabasePathAs String

Re: [Gambas-user] Type of Variables possible?

2009-12-29 Thread Kadaitcha Man
2009/12/29 Dr. Diesel dr.die...@gmail.com: On Tue, Dec 29, 2009 at 5:23 AM, Kadaitcha Man nospam.nospam.nos...@gmail.com wrote: Thanks for the help. You're welcome.  I just need to confirm if it is not currently possible in gambas3 or am I just doing something wrong? I love having a

Re: [Gambas-user] Type of Variables possible?

2009-12-29 Thread Doriano Blengino
Kadaitcha Man ha scritto: 2009/12/29 Dr. Diesel dr.die...@gmail.com: just there seems no way to make it global and accessable across different modules/classes. HA! I had that same logical problem. There is no concept of global in Gabas that matches any variation of VB's idea of

Re: [Gambas-user] Type of Variables possible?

2009-12-29 Thread Kadaitcha Man
Doriano Blengino wrote: without global variables no programs could run... Counterfactual. Fallacious. False. In error. Inaccurate. Inexact. Misconstrued. Misguided. Mistaken. Not right. Untrue. Incorrect. Erroneous. False. Way off. Wide of the mark. Absurd. Groundless Incongruous. Incorrect.

Re: [Gambas-user] Type of Variables possible?

2009-12-29 Thread Kadaitcha Man
2009/12/30 Dr. Diesel dr.die...@gmail.com: On Tue, Dec 29, 2009 at 7:54 AM, Kadaitcha Man nospam.nospam.nos...@gmail.com wrote: 2009/12/29 Dr. Diesel dr.die...@gmail.com: On Tue, Dec 29, 2009 at 5:23 AM, Kadaitcha Man nospam.nospam.nos...@gmail.com wrote: Thanks for the help. You're

Re: [Gambas-user] Type of Variables possible?

2009-12-29 Thread Werner
On 29/12/09 18:10, Dr. Diesel wrote: On Tue, Dec 29, 2009 at 2:18 AM, charlesg char...@pearceshardware.co.ukwrote: Hi Project, Options, Module symbols are public by default=yes ? rgds Thank you, but I must still be confused. Please see the following example: I have the

Re: [Gambas-user] Type of Variables possible?

2009-12-28 Thread Fabien Bodard
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

Re: [Gambas-user] Type of Variables possible?

2009-12-28 Thread Dr. Diesel
On Mon, Dec 28, 2009 at 6:14 AM, Fabien Bodard gambas...@gmail.com wrote: use a class ; TDBInfo 'Gambas Class PUBLICDatabasePathAs String PUBLICDatabaseNameAs String PUBLICTableName As String PUBLICPurgeSQLAs String PUBLICPurgeSQL2 As

Re: [Gambas-user] Type of Variables possible?

2009-12-28 Thread charlesg
Hi Project, Options, Module symbols are public by default=yes ? rgds -- View this message in context: http://old.nabble.com/Type-of-Variables-possible--tp26938813p26951829.html Sent from the gambas-user mailing list archive at Nabble.com.

[Gambas-user] Type of Variables possible?

2009-12-27 Thread Dr. Diesel
Looking to do something like this from VB6 Public DatabaseInfo(NUM_MAX_DB) As DBinfo Type DBinfo DatabasePathAs String DatabaseNameAs String TableName As String PurgeSQLAs String PurgeSQL2 As String End Type Any way to do types in gambas3? Many