2009/10/24 Vincent Snijders <vsnijd...@vodafonevast.nl>:
>
> But then you still cannot do:
>
> if header.id='HS' then
>  // magic is correct.
>
> That is why I proposed a static array of char.


No, but I can do this... which is sufficient.

var
  s: string
begin
  s := hdr^.ID;
  if S = "HS" then
    ...


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to