Original Post
I need to write a program in pascal and compile it with gpc on unix. I have compiled my program with gpc --standard-pascal ex1.pas -o ex1.aout I got the following error: ex1.pas:15:Wrong order of declerations according to ISO 7158 Pascal in function 'A' : My code at line 15 is: function a (b:integer): integer; What may cause it? If you are not familier with it, where can I find compiling error description of this language?