I am trying to convert a large number to a string in MUMPS, but I cannot.
Let me explain what I would like to do:
s A="TEST_STRING#12168013110012340000000001"
s B=$P(A,"#",2)
s TAB(B)=1
s TAB(B)=1
I would like to create an array TABwhere the variable Bwill be the primary key for the array TAB.
When I do ZWR, I will receive
A="TEST_STRING#12168013110012340000000001"
B="12168013110012340000000001"
TAB(12168013110012340000000000)=1
TAB("12168013110012340000000001")=1
as you can see the first to SETrecognize the variable Bas number(incorrectly converted) and the second to SETrecognize the variable Bas string(as I would like to see). My question is how to write a command SETto recognize a variable Bas stringinstead of a number (which is wrong in my opinion).
Any tips / explanations would be helpful.
oxxio