cpstrnew branch (was Re: [fpc-devel] Freepascal 2.4.0rc1 released)
mschnell at lumino.de
Wed Nov 11 11:00:00 CET 2009
Michael Schnell wrote:
> - RawDWordString
> - RawWordString
> - RawByteString
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;
Word1 := RawStr2;
DWord1 := RawStr4;
QWord1 := RawStr8;
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.
More information about the fpc-devel