Origin Ver. and Service Release (Select Help-->About Origin): Origin 8.5.1
Operating System: Windows 7
Hello,
I want to pass a variable name in formula to csetvalue in Code builder without expanding of it.
For certain column I want to have a formula like Col(A)[i] - %(Col(B)[U]$)
I tried different ways, including escaping and dynamic string building:
csetvalue f:="Col(A)[i] - %%(Col(B)[U]$))" c:=Col(B);
or csetvalue f:="Col(A)[i] - %" + "(Col(B)[U]$)" c:=Col(B);
tried to define string before: string pozc = "%%(Col(B)[U]$)";
and debugger shown it works and string contains %(Col(B)[U]$)
as I want, but when I trying to append this string to the formula it is expanding again and I have nothing in the result. In all cases I got Col(A)[i] -
instead formula I need. Is there a way to do so, or infinity expansion of variables it is limitation of LabTalk?