[fpc-pascal] Help getting started with FPC

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Nov 30 23:35:15 CET 2007


On 30 Nov 2007, at 23:20, Edward Kearns wrote:

> Program HelloWorld;
> begin
>
> print "hello"
>
> end.

Note that the above is not a valid Pascal program. This is the  
correct version:

Program HelloWorld;
begin

   writeln('hello');

end.

> and I'm told
>
> No main program found. Can not build.
>
> What extension do I need on it?

.p, .pas or .pp


Jonas



More information about the fpc-pascal mailing list