Leonardo M. Ramé writes:
With Object Pascal (and Pascal), you can divide your program in units, then use those units in a program.
Thanks for the example!
uses HelloWorld; // this includes HelloWorld into your program
FreePascal doesn't look in the current directory by default? I had to use usesHelloWorld in 'HelloWorld.p'; _______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal