Mac OS X 10.4.8, gpc 35u2
This is driving me crazy. Why does this snippet give a compile error in the function declaration? error: syntax error before `('
program PrtTst2;
uses GPCStringsAll;
// from the gpc.pdf manual this is the way a function should look // // function function_identifier (parameter list): result type ; // declaration part // begin // statement part // end;
function fixDateYear(thisDate : String(255)) : String(255); begin end;
begin {main} end.
Thx for any help, Ken