Hi,
I need to send and receive values in Bytes (8bits) data type.
But I'm not able to. I tried t::ArrayToString, it looks converted. but couldn't get it back in array.
The same thing for Pack/Unpack. I Packed a value but gives "Undef" when try to unpack it.
I tried the following:
=========
s=PACK("S1",05)
print s ,"\n",LEN(s),"\n"
UNPACK s BY S1 TO d1
print "\n",d1, "\n"
=========
output:
☺5
2
undef
====,=======,=======,
I tried the following also:
s = t::ArrayToString(a[])
t::StringToArray(s,l)
print l
++++++++++
Output:
undef