adding 2 word variables together problem
rtumatt
Posts: 8
Hi All,
I have 1 random generated var declared as word as shown below:
random1 = A
key = random1
key = A
when i assign key to the value random1 all is as expected but if i did:
key = key + random1
I would expect:
key = AB (assuming random1 has ran twice)
however what i get is still only 1 character which might be something like
key = %
I cant quite explain this, what im wanting is to generate random word variable 10 times and end up with something like
key = &^43tTr4££
Any help greatly appreciated.
I have 1 random generated var declared as word as shown below:
random1 = A
key = random1
key = A
when i assign key to the value random1 all is as expected but if i did:
key = key + random1
I would expect:
key = AB (assuming random1 has ran twice)
however what i get is still only 1 character which might be something like
key = %
I cant quite explain this, what im wanting is to generate random word variable 10 times and end up with something like
key = &^43tTr4££
Any help greatly appreciated.
Comments
You could do: