Michael Schnell wrote:
> 
> - RawDWordString
> - RawWordString 
> - RawByteString 

Edit:

add RawQWordString.

OTHO I just learned that all of them are called "RawByteString" (Thus
IMHO just "RawString" is the more appropriate name) and the character
size (= 1, 2, 4, or 8) is handled separately.

In any case it should be provided that something like

Byte1  := RawStr1[10];
Word1  := RawStr2[10];
DWord1 := RawStr4[10];
QWord1 := RawStr8[10];

Works as expected.

Its quite obvious that the conversion is done after taking the value out
of the string if the target type does not match the strings character-size.

-Michael
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to