MathGroup Archive 1997

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

Search the Archive

Re: Until

  • To: mathgroup at
  • Subject: [mg7075] Re: [mg7063] Until
  • From: Allan Hayes <hay at>
  • Date: Sun, 4 May 1997 21:59:35 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

3 May 1997
Sean Ross <SEAN at>
[mg7063]  Until

>I would like an Until structure where the body is evaluated until  
a >test is true.

How about

Until[test_, body_]:= While[body;test=!=True]

Allan Hayes,
hay at


  • Prev by Date: Re: 3D scatter plot
  • Next by Date: Re: Mathematica 3 notebook ButtonBoxes with no ButtonFrames?
  • Previous by thread: Re: Boundary Value Problem
  • Next by thread: Re: Until -Reply