how to create classes automatically

M

markusjais

hi

let's say I have a string with a class name as a value.
I want to create a new instance of the class with the given class name.

example:
when I have a string like this:

str = "Array"

I want to create a new Array class base on the information in str.

any ideas how this could be done ?

thanks a lot

Markus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,010
Latest member
MerrillEic

Latest Threads

Top