This works
Template
#Prompt(‘blah’,text),%var
#Set(%var,’%symbol’)
CLW
Loc:String = '%(Evaluate(%var))'
I did wonder if the template symbols would work inside Evaluate and they do, so its possible to store template %symbols inside a #Prompt('blah',text),%var
and pass it to evaluate()
to get the value out for use in a string in a clw source file.
Loc:String = '%(Evaluate(%var))'
Havent tried using #Template functions inside a prompt and then passed to evaluate()
, but symbols certainly work.
#GROUP(%StripPling
using evaluate()
was the heads up and the 3rd parameter of Sub
is optional contrary to the help docs which can be seen in #GROUP(%StripPling
!