On Tue, 16 Sep 2014 00:03:22 +0200
Benoît Minisini wrote:
> Le 15/09/2014 23:52, John Leake a écrit :
> >>
> >> Private by default. It's like a class, except everything is static.
> >>
> > So if I have a module containing some general purpose functions that I
> > wish to share across all the form
Le 15/09/2014 23:52, John Leake a écrit :
>>
>> Private by default. It's like a class, except everything is static.
>>
> So if I have a module containing some general purpose functions that I
> wish to share across all the forms in a project, can simply declare
> these functions as Public within t
>
> Private by default. It's like a class, except everything is static.
>
So if I have a module containing some general purpose functions that I
wish to share across all the forms in a project, can simply declare
these functions as Public within the module ?
Le 15/09/2014 21:43, John Leake a écrit :
> What scope do Functions/Subs and variables have when defined or declared
> within a module ?
>
Private by default. It's like a class, except everything is static.
--
Benoît Minisini
-
What scope do Functions/Subs and variables have when defined or declared
within a module ?
--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control.
Le 15/09/2014 21:29, John Leake a écrit :
>> A module is just a class whose all methods and properties are static.
>> It's a thing coming from Visual Basic.
>>
> Thank you. When and how is an instance instantiated ?
>
It's static, that means it cannot be instantiated.
--
Benoît Minisini
---
On Mon, 15 Sep 2014, John Leake wrote:
> Hi All,
>
> I am really struggling with the Gambas 3 documentation.
>
> Can anyone tell me where I can find out what constitutes a 'module' ?
>
See [0]:
"A static class is a class whose all members are static (see below). In
Gambas, a static class is a
> A module is just a class whose all methods and properties are static.
> It's a thing coming from Visual Basic.
>
Thank you. When and how is an instance instantiated ?
--
Want excitement?
Manually upgrade your productio
Le 15/09/2014 21:14, John Leake a écrit :
> Hi All,
>
> I am really struggling with the Gambas 3 documentation.
>
> Can anyone tell me where I can find out what constitutes a 'module' ?
>
> Best regards,
> John Leake
>
A module is just a class whose all methods and properties are static.
It's a
Hi All,
I am really struggling with the Gambas 3 documentation.
Can anyone tell me where I can find out what constitutes a 'module' ?
Best regards,
John Leake
--
Want excitement?
Manually upgrade your production datab
O.K. I've discovered that the modules should be added to the sources
branch of the project!
2011/6/30, M. Cs. :
> Hmmm, I see the examples have no modules. Does it mean that in G3 the
> modules are not working yet?
>
>
> 2011/6/30, M. Cs. :
>> I've created a module called Paper, and a PUBLIC SUB D
Hmmm, I see the examples have no modules. Does it mean that in G3 the
modules are not working yet?
2011/6/30, M. Cs. :
> I've created a module called Paper, and a PUBLIC SUB DoPrint() on it,
> and when I try to invoke the module with
>
> PUBLIC SUB myButton_Click()
> Paper.DoPrint
> END
>
> from
I've created a module called Paper, and a PUBLIC SUB DoPrint() on it,
and when I try to invoke the module with
PUBLIC SUB myButton_Click()
Paper.DoPrint
END
from FMain, I'm getting error "Unknown identifier Paper on FMain..."
Men, is this still Gambas??? This was the standard way of handling th
> Hi Benoit,
>
> Benoît Minisini wrote:
> > If CurrentUser, CurrentProject and CurrentSystem are the objects that
> > change,
> > then they should raise the events, not the module where they are
> > declared. Shouldn't they? An event is the way an object tells the world
> > it has changed.
> >
> >
Hi Benoit,
Benoît Minisini wrote:
>
> If CurrentUser, CurrentProject and CurrentSystem are the objects that
> change,
> then they should raise the events, not the module where they are declared.
> Shouldn't they? An event is the way an object tells the world it has
> changed.
>
> If you can'
> I have a module called "env" that "holds" three system wide objects
> (CurrentUser, CurrentProject, CurrentSystem). Lots of forms access and use
> these objects (Login, FMain etc etc).
>
> I am trying to signal an unknown number of listeners when one of these
> objects changes, for example is
I have a module called "env" that "holds" three system wide objects
(CurrentUser, CurrentProject, CurrentSystem). Lots of forms access and use
these objects (Login, FMain etc etc).
I am trying to signal an unknown number of listeners when one of these
objects changes, for example is the user ch
Benoît Minisini a écrit :
>> Benoît Minisini a écrit :
Hi list,
I wonder if it is possible to create modules dependencies in order to
automatically load N modules when you only select one?
JY
>>> You mean, when loading a module at runtime?
>> well, both @ runtime and w
> Benoît Minisini a écrit :
> >> Hi list,
> >>
> >> I wonder if it is possible to create modules dependencies in order to
> >> automatically load N modules when you only select one?
> >>
> >> JY
> >
> > You mean, when loading a module at runtime?
>
> well, both @ runtime and when beginning the pro
Benoît Minisini a écrit :
>> Hi list,
>>
>> I wonder if it is possible to create modules dependencies in order to
>> automatically load N modules when you only select one?
>>
>> JY
>>
>
> You mean, when loading a module at runtime?
well, both @ runtime and when beginning the project when you choo
> Hi list,
>
> I wonder if it is possible to create modules dependencies in order to
> automatically load N modules when you only select one?
>
> JY
>
You mean, when loading a module at runtime?
--
Benoît Minisini
--
Hi list,
I wonder if it is possible to create modules dependencies in order to
automatically load N modules when you only select one?
JY
--
Praise the Lord and pass the ammunition.
-- Stephen Coonts, "The Minotaur"
22 matches
Mail list logo