Tamas Rudnai wrote: >>> Pascal has a good approach with the Units, that include together the >>> code and the prototypes for everything. >> >> A problem with this approach may be that you have to distribute source >> code for every library you sell. > > No, you don't. You do not have to give away the implementation section, > only the interface one. Take a look at this example from the freePascal > documentation (it contains both sections but once you compiled your unit > you can cut off the implementation...): [snipped code] Ok, but how is this different from the C-style header and implementation file process? Looks to me like it's pretty much the same. Gerhard -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist