View Single Post
  #17  
Old 01-17-2010, 12:02 AM
WhiteDragon WhiteDragon is offline
Banned
Join Date: Feb 2007
Posts: 1,002
WhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to behold
Be careful if you do something like:
PHP Code:
temp.= new TStaticVar("A");
temp.o.join("class_a");

temp.o2 = new A("B");
temp.o2.join("class_b"); 
Functions will overwrite weirdly. There is no way to get the usual inheritance/polymorphism/encapsulation in GS, if that is what you are looking for.


Stefan did introduce compile-time class inclusion with the import "class"; construct, but I have found it to be buggy.
Reply With Quote