[fpc-pascal] WORD (2 bytes) to String conversion

Graeme Geldenhuys graemeg.lists at gmail.com
Sat Oct 24 00:07:29 CEST 2009


On 23/10/2009, Vincent Snijders <vsnijders at 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.



-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the fpc-pascal mailing list