On 04/02/12 15:57, nando wrote:
thats what i want to know it seems that public variables are copy when a class is inheritedHow can it be empty AND have elements in it?---------- Original Message ----------- From: Shane Powell<shanep1...@tpg.com.au> To: mailing list for gambas users<gambas-user@lists.sourceforge.net> Sent: Sat, 04 Feb 2012 12:05:24 +1100 Subject: [Gambas-user] inheritance problemsI have this in my program class 1 public array of class 2 class 2 inherits class 1 access array of class 2 in class 1 but array is empty but i know it has elements in it what am i doing wrong ? ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user------- End of Original Message ------- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
and the value they where when you inherit them is only used from then on i made a test app i must be doing something wrong this app just uses integers
ClassTest-0.0.1.tar.gz
Description: GNU Zip compressed data
------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user