dynamic object creation
- From: "B.r.K.o.N.j.A." <thebrkonja@xxxxxxx>
- Date: Thu, 27 Oct 2005 21:37:14 +0200
Is there a way to do something similar to this?
var classname: string;
classname:='someclass';
myclass:=<class contained in classname variable (someclass)> .create;
I need to end up with myclass variable that holds reference to newly created
someclass object.
I can do classfactory class and do a lot of if-s but that's horrible
solution, and I'm pretty sure there's a nice and clean solution to this one.
Thanks,
Brko
.
- Follow-Ups:
- Re: dynamic object creation
- From: Maarten Wiltink
- Re: dynamic object creation
- From: Bruce Roberts
- Re: dynamic object creation
- Prev by Date: Re: Password Generator
- Next by Date: Re: @ operator ? Or maybe not
- Previous by thread: Table does not reflect any changes
- Next by thread: Re: dynamic object creation
- Index(es):