G GEVAS software Member Apr 19, 2006 #1 How can I read/write Fields of datatype RAW(X)? "SetLongVariable" is only for use with the datatype LONG RAW. Andreas
How can I read/write Fields of datatype RAW(X)? "SetLongVariable" is only for use with the datatype LONG RAW. Andreas
Marco Kalter Administrator Staff member Apr 19, 2006 #1 RAW fields are treated as strings with a hexadeximal notation. For example, a RAW field with 3 bytes with values 8, 9 and 10, would be represented as '08090A'.
RAW fields are treated as strings with a hexadeximal notation. For example, a RAW field with 3 bytes with values 8, 9 and 10, would be represented as '08090A'.
G GEVAS software Member Apr 25, 2006 #1 Thanks, but what about bytes that cannot be in a string like '00' ? With SetVariable() I cannot handle them Andreas
Thanks, but what about bytes that cannot be in a string like '00' ? With SetVariable() I cannot handle them Andreas
Marco Kalter Administrator Staff member Apr 25, 2006 #1 All 256 byte values can be represented by a 2 digit hexadecimal string, from 00 to FF. See also the standard IntToHex and HexToBin functions.
All 256 byte values can be represented by a 2 digit hexadecimal string, from 00 to FF. See also the standard IntToHex and HexToBin functions.