[Gambas-user] inherist wiki description misc!
Jussi Lahtinen
jussi.lahtinen at gmail.com
Thu Jun 14 00:24:13 CEST 2018
??
Some English teacher somewhere out there just died. Please try again.
Jussi
On Wed, Jun 13, 2018 at 9:39 PM, PICCORO McKAY Lenz <mckaygerhard at gmail.com>
wrote:
> 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 ]----
>>
>>
>
>
> ----[ 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/20180614/a7840d0a/attachment.html>
More information about the User
mailing list