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

Ralf A. Quint FreeDOS at gmx.net
Fri Oct 14 05:09:25 CEST 2011

At 08:02 PM 10/13/2011, Andrew Pennebaker wrote:

>I can USE the code just fine in a second file, test.p, and compile 
>and run a test executable. But I'd like to be able to turn my units 
>into self-sufficient executables (and later add command line options).

Looks like you do not understand the basic concept behind the use of 
units. They are not supposed to be "self-sufficient". Code in units 
are supposed to be re-usable code (snippets) across projects or to 
devide a larger program into smaller, better maintainable "pieces"...


More information about the fpc-pascal mailing list