Le 08/02/2012 01:25, Fabián Flores Vadell a écrit :
>
> Is the intention to provide a feature similar to inner classes of java?
>
Not at all.
--
Benoît Minisini
--
Keep Your Developer Skills Current with LearnDevNow!
Th
Hi Benoît.
2012/2/7 Benoît Minisini
>
> >>>
> Gambas structures are really Gambas objects, except that they can be
> embedded inside other objects or structures (you cannot embed a Gambas
> object inside another one).
> Beside that special behaviour (and two other ones in extern function
> ma
LOL!
My son in law is a rancher. A real cowboy (his tax return says so). And if
you dropped the dog that sounds like something he'd say
On Tue, Feb 7, 2012 at 1:02 PM, Kevin Fishburne <
kevinfishbu...@eightvirtues.com> wrote:
> On 02/07/2012 08:10 AM, Randall Morgan wrote:
> > http://gamba
On 02/07/2012 08:10 AM, Randall Morgan wrote:
> http://gambasdoc.org/help/lang/structdecl?en&v3
>
> "A structure is exactly like a class that would have only public variables."
>
>
>
> On Tue, Feb 7, 2012 at 5:07 AM, Randall Morgan wrote:
>
>> Just restating the documentation
>>
>>
>>
As my d
Thanks for clearing that up Benoit!
2012/2/7 Benoît Minisini
> Le 07/02/2012 14:50, GMail a écrit :
> > On Tue, 2012-02-07 at 05:07 -0800, Randall Morgan wrote:
> >> Just restating the documentation
> >>
> >> On Tue, Feb 7, 2012 at 5:05 AM, Bruce Bruen
> wrote:
> >>
> >>> On Tue, 2012-02-0
Le 07/02/2012 14:50, GMail a écrit :
> On Tue, 2012-02-07 at 05:07 -0800, Randall Morgan wrote:
>> Just restating the documentation
>>
>> On Tue, Feb 7, 2012 at 5:05 AM, Bruce Bruen wrote:
>>
>>> On Tue, 2012-02-07 at 04:07 -0800, Randall Morgan wrote:
Actually, a Structure is a methodles
While structures and classes are different thing generally,
I have understand that structures are implemented to Gambas internally as
class.
And to answer Kevin's question.
Create class named Client_Animation, and paste this inside of it:
Public Animating As Boolean
Public OrientationDefault As
Well, it sounds like your issue is with the documentation rather than
posters.
I do recall someone a while back stating that in Gambas structures were
implemented as method-less classes.
In languages such as C/C++ etc.. structures are very different beasts
compared to class. However, the document
On Tue, 2012-02-07 at 05:07 -0800, Randall Morgan wrote:
> Just restating the documentation
>
> On Tue, Feb 7, 2012 at 5:05 AM, Bruce Bruen wrote:
>
> > On Tue, 2012-02-07 at 04:07 -0800, Randall Morgan wrote:
> > > Actually, a Structure is a methodless class.
> > zrr!
> >
>
http://gambasdoc.org/help/lang/structdecl?en&v3
"A structure is exactly like a class that would have only public variables."
On Tue, Feb 7, 2012 at 5:07 AM, Randall Morgan wrote:
> Just restating the documentation
>
>
> On Tue, Feb 7, 2012 at 5:05 AM, Bruce Bruen wrote:
>
>> On Tue, 2012-
Just restating the documentation
On Tue, Feb 7, 2012 at 5:05 AM, Bruce Bruen wrote:
> On Tue, 2012-02-07 at 04:07 -0800, Randall Morgan wrote:
> > Actually, a Structure is a methodless class.
> zrr!
>
> ... and you can inherit from, override and make static attributes from a
On Tue, 2012-02-07 at 04:07 -0800, Randall Morgan wrote:
> Actually, a Structure is a methodless class.
zrr!
... and you can inherit from, override and make static attributes from a
struct too?
Please, lets keep things realistic here.
--
t; >
> > -- Original Message ---
> > From: Kevin Fishburne
> > To: gambas-user@lists.sourceforge.net
> > Sent: Mon, 06 Feb 2012 22:58:46 -0500
> > Subject: Re: [Gambas-user] gb3: converting structures to classes
> >
> >> On 02/06/201
gt;
>
> -- Original Message ---
> From: Kevin Fishburne
> To: gambas-user@lists.sourceforge.net
> Sent: Mon, 06 Feb 2012 22:58:46 -0500
> Subject: Re: [Gambas-user] gb3: converting structures to classes
>
>> On 02/06/2012 09:36 AM, nando wrote:
>>>
-user] gb3: converting structures to classes
> On 02/06/2012 09:36 AM, nando wrote:
> > I am doing the same thing.
> > Using class in place of structures.
> > Then arrays or collections of the classes.
> > Works great!
> >
>
> What are the general steps to do
On 02/06/2012 09:36 AM, nando wrote:
> I am doing the same thing.
> Using class in place of structures.
> Then arrays or collections of the classes.
> Works great!
>
What are the general steps to do such a thing? How do you declare a
class, define its properties, then create an array of the class
I am doing the same thing.
Using class in place of structures.
Then arrays or collections of the classes.
Works great!
-- Original Message ---
From: Kevin Fishburne
To: gambas-user@lists.sourceforge.net
Sent: Sun, 05 Feb 2012 02:39:43 -0500
Subject: [Gambas-user] gb3: converting
I tried to find the previous email suggesting this and couldn't, neither
is there an equivalent wiki article describing class creation as there
is with structure creation, so I'm asking here.
I need to know how to convert structure declarations to class
declarations, and if there are any obviou
18 matches
Mail list logo