How to convert a string to a varible?

  • Thread starter Thread starter Peter
  • Start date Start date
P

Peter

Does anybody know how to convert a string to a varible?

For example, I have defined 2 structures

Structure SS
dim Name as string
dim ID as short
end structure

Structure TT
dim Item as ss
dim Other as short
end structure

dim x as TT

If I have a string "TT.Item", How can I convert it to a varible whose data
type is SS ?

Thanks in advance,

Peter
 

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

Back
Top