FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

redefine a class?

 
Post new topic   Reply to topic     Forum Index -> General
View previous topic :: View next topic  
Author Message
Nova



Joined: 18 Sep 2004
Posts: 23

PostPosted: Thu Dec 23, 2004 1:25 pm    Post subject: redefine a class? Reply with quote

I just wanted to know if it is possible in d to either redefine a class, or maybe undefine and define again?
Back to top
View user's profile Send private message
csauls



Joined: 27 Mar 2004
Posts: 278

PostPosted: Tue Dec 28, 2004 9:29 am    Post subject: Reply with quote

I'm not positive I quite get what you mean, but this might be in the right direction. You could have two classes by the same name residing in seperate modules, and refer to them by fully qualified names, and perhaps using aliases. For instance, in module Adam define class Foo, and in module Brian define another class Foo. You can now access both, using Adam.Foo and Brian.Foo respectively. Or you could use something like "alias Adam.Foo AFoo; alias Brian.Foo BFoo" to simplify it.

Am I getting you right?
_________________
Chris Nicholson-Sauls
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Nova



Joined: 18 Sep 2004
Posts: 23

PostPosted: Tue Dec 28, 2004 1:21 pm    Post subject: Reply with quote

Not really, I failed to mention this would be needed during runtime. I've gotten the impression that its just not possible so I've decided to build around it.

Thanks anyway Crying or Very sad
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> General All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group