Alternatively, doesn't this work: return clsname~new() -- Brandon Cherry Brandon Cherry wrote: > David Ashley wrote: >> All I have this as a method in a class >> >> ::method create_event_obj >> use strict arg clsname > forward to (clsname) message 'new' array () >> The argument I pass to it is a class name (with a leading period). But it >> does not return an object. Any ideas how to make this work? >> >> The problem I am trying to solve here is that I want to create an object >> from a many level class hiearchy, but I don't know until run time what >> level I will need. >> >> Thanks, >> W. David Ashley >> IBM Systems and Technology Group Lab Services >> Open Object Rexx Team >> Mobile Phone: 512-289-7506 > HTH!
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Oorexx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oorexx-devel
