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
 
Back
Top