From what i understand, when you send an string of decimal character, you send each and every ASCII character of them, one after the other.
When you receive them, and use STR modifier as...
HSERIN [STR ArrayVar\4]
The results will be stor in the array variable like
ArrayVar[0]=1
ArrayVar[1]=2
ArrayVar[2]=3
ArrayVar[3]=4
So maybe...
Var1=(ArrayVar[0]*10)+ArrayVar[1]
Var2=(ArrayVar[2]*10)+ArrayVar[3]
At the end... Var1=12, Var2=34.
There's many way to do that, but it always depend how the data i sent too...
if you send 1234 and use something like
HSERIN [DEC2 Var1, DEC2 Var2]
Var1=12
Var2=34
Last edited by mister_e; - 9th May 2006 at 01:51.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks