Re: missing include by compiler
From: David Ham (d.a.ham_at_citg.tudelft.nl)
Date: 04/08/04
- Next message: TimC: "Re: is pgplot library good enough?"
- Previous message: Charles Russell: "Re: missing include by compiler"
- In reply to: Charles Russell: "Re: missing include by compiler"
- Next in thread: Catherine Rees Lay: "Re: missing include by compiler"
- Reply: Catherine Rees Lay: "Re: missing include by compiler"
- Reply: Charles Russell: "Re: missing include by compiler"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 8 Apr 2004 14:48:12 +1000
On Wed, 7 Apr 2004 22:52:22 -0500
"Charles Russell" <STOPworworSPAM@bellsouth.net> wrote:
> 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. When the
> contents of a block if become too long to fit in one screen, in order
> to keep the control flow readable I often put the block in an include
> file with a meaningful name. The pascal way seems better to me. This
> is also the easiest way I know to handle a block that you want to
> optionally comment in/out.
>
>
Doesn't an internal subroutine pretty much do this? All your variables
stay in scope due to host association and you can comment out the call
statement when needed. In addition you can have local variables if you
want them.
David
- Next message: TimC: "Re: is pgplot library good enough?"
- Previous message: Charles Russell: "Re: missing include by compiler"
- In reply to: Charles Russell: "Re: missing include by compiler"
- Next in thread: Catherine Rees Lay: "Re: missing include by compiler"
- Reply: Catherine Rees Lay: "Re: missing include by compiler"
- Reply: Charles Russell: "Re: missing include by compiler"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|