On 07/02/12 23:46, Kevin King wrote:
> An include is fine for declarations, but not for executable code due to the
> fact that individual lines in the include cannot be debugged (on Unidata).
>  Declarations like EQUates and common blocks are best uses for includes.
>  The need to break apart big routines due to some arbitrary limit (i.e.
> 32K) is no longer a valid argument and without the ability to debug
> included code, any gains quickly become lost.

Plus, what happens if you ever want to update that code?

If it's INCLUDEd in twenty different files, you need to recompile the
lot - that is if you even know what files include it! (And don't say you
can search, you're quite likely to miss something).

If it's a subroutine, you know one recompile and you've caught all
instances.

Cheers,
Wol
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to