[fpc-pascal] How do I load external Pascal code?
andrew.pennebaker at gmail.com
Thu Oct 13 22:32:43 CEST 2011
Hmm. I tried rewriting begin/end as initialization/end, but scriptedmain.p
still won't compile to an executable. fpc just creates a .PPU file.
On Thu, Oct 13, 2011 at 3:40 PM, Jonas Maebe <jonas.maebe at elis.ugent.be>wrote:
> 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
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal