MathGroup Archive 2006

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

Search the Archive

Re: Notebooks, packages, cells, and literate programming


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