MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Notebooks, packages, cells, and literate programming

  • To: mathgroup at smc.vnet.net
  • Subject: [mg64223] Re: [mg64195] Notebooks, packages, cells, and literate programming
  • From: Sseziwa Mukasa <mukasa at jeol.com>
  • Date: Tue, 7 Feb 2006 03:35:49 -0500 (EST)
  • References: <200602040913.EAA15860@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

On Feb 4, 2006, at 4:13 AM, Mark Adler wrote:

> So is there a way to break up an expression among multiple cells in a
> notebook and have the cells still work (if executed in the proper
> order)?
>
> mark
>
> p.s.  The answer is not "use smaller blocks".  I want comments between
> individual lines of already small blocks.

By line do you mean a subexpression of a compound expression?  If so,  
you could use Begin to start a new context instead of Block.  Using  
context means you will have to keep track of the appropriate context  
of variables of course, which is more work than using Block.

Regards,

Ssezi


  • Prev by Date: Re: nonspurious bug report (probably PackedArray related)
  • Next by Date: Re: Using Get in a Module
  • Previous by thread: Notebooks, packages, cells, and literate programming
  • Next by thread: RE: Notebooks, packages, cells, and literate programming