[Gambas-user] inherist wiki description misc!
PICCORO McKAY Lenz
mckaygerhard at gmail.com
Wed Jun 13 20:39:46 CEST 2018
hanks jussi so then to refers methods in the "son class" i must not prefix
with "me."
and th access the inherits methods (heredados) i must use me. so "this" its
not equal to "me"?
Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com
2018-06-13 14:29 GMT-04:00 Jussi Lahtinen <jussi.lahtinen at gmail.com>:
> Example if you have class named Test that inherits Point, then if you want
> to access x and y in some method of the Test you need to use Me.X and Me.Y.
> So, example Test class could have code like this:
>
> Sub DoSomethingUseless()
>
> Me.X = 1
> Me.Y = 2
>
> ' These do not work:
> ' X = 1
> ' Y = 2
>
> End
>
>
> Jussi
>
> On Wed, Jun 13, 2018 at 8:49 PM, PICCORO McKAY Lenz <
> mckaygerhard at gmail.com> wrote:
>
>> > You must use the ME <http://gambaswiki.org/wiki/lang/me> keyword to
>> access the inherited elements from the class inside.
>>
>> at the last of the sentece said "inside".. umm that sound little
>> confusing!?!
>>
>> can someone explain me better , i think the lwaguaje are a break here!
>>
>> Lenz McKAY Gerardo (PICCORO)
>> http://qgqlochekone.blogspot.com
>>
>>
>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>>
>>
>
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20180613/8d7c502e/attachment.html>
More information about the User
mailing list