PDA

View Full Version : Project with Multiple Source files?



MuteClown
16-03-2010, 07:23 PM
Hey,
how would i have a project that uses multiple source code files? I mean having them all compile into one, i remember doing such things in C++ and using header files. How is it done in FreePascal? I have been starting to work with SDL and OpenGL and really looking to start placing my classes into their own files just because my source code it getting messy.

-MuteClown

MuteClown
16-03-2010, 09:40 PM
NVM i figured it out, very easy :P

Under interface to declare your types such as class and under implement you have your methods etc..
And its Unit not program at the top =]