Russell Whitaker wrote:
On Sat, 24 May 2003, Mirsad Todorovac wrote:
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 `('
I couldn't find in reference docs whether this is actually banned by specification, or is it a bug in parser.
I think it is a minor bug that's been around for quite some time.
It's no bug. Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html GPC download signing key: 51FF C1F0 1A77 C6C2 4482 4DDC 117A 9773 7F88 1707