Graeme Geldenhuys schreef:
On 23/10/2009, Vincent Snijders <vsnijd...@vodafonevast.nl> wrote:
You can consider declaring the ID in the header record type as array[1..2]
of char.
As Marco suggested... Char size might not always be the same. I did
however change my header to array[0..1] of byte instead.
But then you still cannot do:
if header.id='HS' then
// magic is correct.
That is why I proposed a static array of char.
Vincent
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal