Hello,

Why does this trigger an range check exception:

var
  lNum: Cardinal;
  lStr: string;
begin
  lNum := High(Cardinal);
  lStr := Format('Num=%u', [lNum]);

Format doesn't support integer numbers above High(Integer) ?

I really need to use IntToStr?

thanks,
-- 
Felipe Monteiro de Carvalho
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to