At 3:02 PM +0200 24/5/03, Mirsad Todorovac wrote:
Hi, Frank!
program mirsad16(output);
function testproc (n: LongCard): String(64); begin n := n; return 'OK'; end;
begin WriteLN (testproc (42)); end.
bash-2.05b$ gpc -Wall mirsad16.pas mirsad16.pas:4: warning: missing string capacity -- assuming 255 mirsad16.pas:4: parse error before `('
Typically function results and formal parameters cannot be unnamed types, they must be fully defined types. This probably counts as that case, the same as if you tried to do:
function testproc (n: LongCard): array[1..10] of Integer;
Enjoy, Peter.