Ah, yeah I knew that but then I remembered why I cannot rely on using quotes:
Code: Select all
Let>ZERO_VALUE=0"
Let>k=0
Repeat>k
Let>k=k+1
GoSub>DISPLAY_VALUE,ZERO_VALUE
ConCat>ZERO_VALUE,0"
Until>k=3
Let>k=0
Repeat>k
Let>k=k+1
GoSub>DISPLAY_VALUE,{"%ZERO_VALUE%"}
//above will error due to the " in the string
ConCat>ZERO_VALUE,0"
Until>k=3
SRT>DISPLAY_VALUE
MDL>DISPLAY_VALUE_Var_1
END>DISPLAY_VALUE
This is how my code looks like, all over the place... it's a pain:
Code: Select all
Let>ZERO_VALUE=0"
Let>k=0
Repeat>k
Let>k=k+1
GoSub>DISPLAY_VALUE,ZERO_VALUE
ConCat>ZERO_VALUE,0"
Until>k=3
Let>k=0
Repeat>k
Let>k=k+1
StringReplace>ZERO_VALUE,",----''----,ZERO_VALUE
GoSub>DISPLAY_VALUE,{%ZERO_VALUE%}
//No quotes when calling the subroutine
ConCat>ZERO_VALUE,0"
Until>k=3
SRT>DISPLAY_VALUE
StringReplace>DISPLAY_VALUE_Var_1,----''----,",DISPLAY_VALUE_Var_1
MDL>DISPLAY_VALUE_Var_1
END>DISPLAY_VALUE