Re: [Gambas-user] gb3: structure declaration not allowed in a different module

2011-11-19 Thread Benoît Minisini
Le 19/11/2011 08:47, Kevin Fishburne a écrit : > > That is super shitty. I'm assuming there's a good reason for that beyond > my understanding since I've read that page so many times. What's worse > is that I didn't back up my project prior to migrating the structure > declarations, so I have to ma

Re: [Gambas-user] gb3: structure declaration not allowed in a different module

2011-11-19 Thread Fabien Bodard
2011/11/19 Randall Morgan : > Couldn't you simply change this to a class with only properties and get the > functionality you're looking for? yep ... structure in gambas are quite different than the vb ones. In fact they are internal range value. To use structure in gambas like in vb you need to

Re: [Gambas-user] gb3: structure declaration not allowed in a different module

2011-11-19 Thread Randall Morgan
Couldn't you simply change this to a class with only properties and get the functionality you're looking for? On Fri, Nov 18, 2011 at 11:38 PM, Kevin Fishburne < kevinfishbu...@eightvirtues.com> wrote: > I had structure declarations running out of my eyes and ears across > about 10 modules, so I

Re: [Gambas-user] gb3: structure declaration not allowed in a different module

2011-11-18 Thread Kevin Fishburne
On 11/19/2011 02:42 AM, Fabien Bodard wrote: > 2011/11/19 Kevin Fishburne: >> I had structure declarations running out of my eyes and ears across >> about 10 modules, so I decided to create a "Structures" module to >> contain them all. Here's an example: >> >> ' Gambas module file >> >> ' Structure

Re: [Gambas-user] gb3: structure declaration not allowed in a different module

2011-11-18 Thread Fabien Bodard
2011/11/19 Kevin Fishburne : > I had structure declarations running out of my eyes and ears across > about 10 modules, so I decided to create a "Structures" module to > contain them all. Here's an example: > > ' Gambas module file > > ' Structure module > > ' General declarations. > > ' Audio effec

[Gambas-user] gb3: structure declaration not allowed in a different module

2011-11-18 Thread Kevin Fishburne
I had structure declarations running out of my eyes and ears across about 10 modules, so I decided to create a "Structures" module to contain them all. Here's an example: ' Gambas module file ' Structure module ' General declarations. ' Audio effect structure. Public Struct Audio_Effect ' St