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"...
Ralf
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal