[fpc-pascal] How do I load external Pascal code?

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Oct 13 21:40:50 CEST 2011


On 13 Oct 2011, at 21:37, Andrew Pennebaker wrote:

> Is it possible to have a begin/end declaration in a unit a la C's main
> function? I would like my units to double as libraries and executables.

Yes: http://www.freepascal.org/docs-html/ref/refse72.html


Jonas



More information about the fpc-pascal mailing list