I am trying to convert variables into strings. I am using the online program editor (by chemtech) to write programs. Unfortunately both of the example codes for turning a variable into a string are not working!
Method 1
"?
For(X,1,1+log(N
sub("0123456789",ipart(10fpart(N10^(-X)))+1,1)+Ans
End
sub(Ans,1,length(Ans)-1→Str1
Method 2
"?
For(X,1,1+log(N
sub("0123456789",ipart(10fpart(N10^(-X)))+1,1)+Ans
End
sub(Ans,1,length(Ans)-1→Str1
I have tried it both with and without the colons on the left.