BUG REPORT: function (n: LongCard): String(64); -- bug or not allowed?
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 `(' I couldn't find in reference docs whether this is actually banned by specification, or is it a bug in parser. Thanks, Mirsad -- "I have a dream!" -- Martin Luther King Jr. "You can't hold someone down ... without staying down with him." -- Booker T. Washington "... one thing is for sure about the rat race: Even if you win, you're still a rat." -- S. Baars
participants (8)
-
Adriaan van Os -
CBFalconer -
ejer5183@artax.karlin.mff.cuni.cz -
Frank Heckenbach -
Maurice Lombardi -
Mirsad Todorovac -
Peter N Lewis -
Russell Whitaker