> thats what i want to know it seems that public variables are copy when a
> class is inherited
> 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
>

There are two objects, myc1 and myc2.
And you increase value of myint of myc1.

Only declarations of variables are inherited, not values of them unless
their are static.

What you expect to happen?

Jussi
------------------------------------------------------------------------------
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

Reply via email to