Hello,

I want to have a static var in a base class, that gets used in the
base class, but then I want to have multiple classes that inherit from
this base class, with a different static var value per each, and make
it work. So far, I've achieved that goal with code that you can see in
http://pastebin.com/vkkD7YgE, whose output is:

casa.A.printDef2
casa.A.getDef2
EPIC
casa.A.printDef2
casa.B.getDef2
FAIL
casa.A.printDef2
casa.C.getDef2
YEAH

Which is exactly what I wanted. I'm actually surprised I achieved that
goal, but my question is.. is there any other better way to do it?

Regards,
   Eduardo Robles Elvira.

------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to