[fpc-pascal] PASCAL programming for Novice

Francisco Reyes lists at stringsutils.com
Sat Jun 9 17:39:32 CEST 2007


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
uses
  HelloWorld in 'HelloWorld.p'; 



More information about the fpc-pascal mailing list