cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Prime 6.0: how to convert string into variable?

FraRaff
6-Contributor

Prime 6.0: how to convert string into variable?

Dear all,

 

I am trying to convert a vector of strings vectstrn=("var1", "var2", ... , "varN") into an equivalent vector or variables vecvar=(var1, var2, ... , varN). Then I would need to assign this variable names to another vector of values already existing.

 

Can anyone help me with this issue?

 

Thanks in advance

1 REPLY 1

Its a long standing wish to be able to do what you demand, but unfortunately there is no method available here to create a variable from the name provided as a string.
The problem came up now and then here in the forum and sometime it was suggested to try fiddling around with the XML structure of the worksheet itself, but I don't know of any viable and solid solution being ever posted here.

Top Tags