[fpc-pascal] child units (was: dot within unit file name)
Marco van de Voort
marcov at stack.nl
Mon Jan 21 18:45:11 CET 2008
> I think it would be fantastic if Free Pascal could add child units as
> a language extension (of course this would reduce portability --
> although on the other hand it might make porting Ada programs easier).
> It's difficult trying to describe the benefits to someone who has
> never used them (how do you know you're missing something if you've
> never used it and therefore never felt a need for it?)
I've used Modula2, and know nested modules. However I haven't missed them.
I have missed opague types and forcedly qualified importing (from M2)
M2 doesn't have the nested module "put in arbitrary other file"
system though. Such system would have the same problems with M2 as with
Pascal.
More information about the fpc-pascal
mailing list