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