2012/7/4 Benoît Minisini
> Le 04/07/2012 07:55, Fabien Bodard a écrit :
> > why if the class have the same name of an existing one you not just
> ignore
> > the 'inherit' keyword, Benoit ?
> >
>
> Because the compiler does not know that a class with the same name
> already exists at compile time.
Le 04/07/2012 07:55, Fabien Bodard a écrit :
> why if the class have the same name of an existing one you not just ignore
> the 'inherit' keyword, Benoit ?
>
Because the compiler does not know that a class with the same name
already exists at compile time.
--
Benoît Minisini
why if the class have the same name of an existing one you not just ignore
the 'inherit' keyword, Benoit ?
--
Fabien Bodard
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's securit
Le 25/06/2012 10:33, Bruce a écrit :
> OK, but not the answer I was hoping for.
>
> Presumably "Application" is needed early on in the piece. What I'm
> trying to work out is, if I override Application then which order does
>
> gb.Application._Init()
> ^
>
On Mon, 2012-06-25 at 00:47 +0200, Benoît Minisini wrote:
> Le 25/06/2012 00:41, Bruce a écrit :
> >>
> >> If you export a class with a name that already exists, it automatically
> >> implies inheritance with overriding.
> >>
> >> So you have a "multiple inheritance" error by using the "Inherits" k
Le 25/06/2012 00:41, Bruce a écrit :
>>
>> If you export a class with a name that already exists, it automatically
>> implies inheritance with overriding.
>>
>> So you have a "multiple inheritance" error by using the "Inherits" keyword.
>>
>
> Wow! That simple.
> Now I can do all those nefarious th
On Sun, 2012-06-24 at 22:52 +0200, Benoît Minisini wrote:
> Le 18/06/2012 15:29, Bruce a écrit :
> > On Mon, 2012-06-18 at 22:39 +0930, Bruce wrote:
> >
> >> Try this:
> >> Create a new command line project in the IDE.
> >> Add a new class "Application" with the following contents
> >>
> >>
Le 18/06/2012 15:29, Bruce a écrit :
> On Mon, 2012-06-18 at 22:39 +0930, Bruce wrote:
>
>> Try this:
>> Create a new command line project in the IDE.
>> Add a new class "Application" with the following contents
>>
>> ' Gambas class file
>>
>> Create Static
>> Inherits Ap
On Mon, 2012-06-18 at 22:39 +0930, Bruce wrote:
> Try this:
> Create a new command line project in the IDE.
> Add a new class "Application" with the following contents
>
> ' Gambas class file
>
> Create Static
> Inherits Application
> Export
>
>