In trying to understand the relationship between macro variables and VBScript variables I have been playing around with the VBEval command, trying to get it to pass a value back from the function. Using the example in the documentation for VBEval I can not seem to get it to work properly.
VBSTART
Function PointlessStringExample(somestring)
DisplayMessage(somestring)
StringExample = somestring
End Function
VBEND
Let>text=Hello World
VBEval>PointlessStringExample("%text%"),sametext
The documentation states that the results are placed in the field following the comma, in this case sametext, but when I display the results of sametext it is blank. What am I missing here? How can I get the VBScript value passed back to Macro Scheduler script?
Thanks