Re: missing include by compiler

From: Charles Russell (STOPworworSPAM_at_bellsouth.net)
Date: 04/08/04


Date: Thu, 8 Apr 2004 10:03:07 -0500


"David Ham" wrote in message

> > Another wish for my Christmas list: some way to assign a name to a
> > block of code and reference it by name as in pascal. > >
>
> Doesn't an internal subroutine pretty much do this?

Or an external subroutine, for that matter. But there is a programming
overhead that can matter when writing quick-and-dirty code for one-time
personal use: you have to think out an interface, which then becomes
troublesome to modify. I tend to use lots of include files, converting an
include file to a subroutine only when I think it contains code that I will
want to re-use in a different context. Would internal subroutines be any
different?