[Gambas-user] CLASS inherits from CLASS causes OUT OF BOUNDS (#22)

Mayost Sharon sharon at 455.co.il
Tue Apr 18 09:43:48 CEST 2023


---------- Original Message -----------
From: Denis Crowther <denisc at exemail.com.au>
To: user at lists.gambas-basic.org
Sent: Tue, 18 Apr 2023 16:22:42 +1000
Subject: Re: [Gambas-user] CLASS inherits from CLASS causes OUT OF BOUNDS (#22)

> On 4/18/23 16:22, Mayost Sharon wrote:
> 
> > 
> > 2. Make class2 inherit from class1 and then I can access from class2 to class1
> > And when I try it gives the error of: OUT OF BOUNDS
> >
> 
> If you inherit then there is no "class1", the variable that you wanted 
> in class1 is in the class2.
> 
> -- 
> Regards
> Denis
> 
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
------- End of Original Message -------

Thanks

OK
According to this, the possibility of inheritance will not suit what I want?


More information about the User mailing list