Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1996
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1996

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

Search the Archive

Q: About PAUSING in V2.2

  • To: mathgroup at smc.vnet.net
  • Subject: [mg5066] Q: About PAUSING in V2.2
  • From: sergio at scisun.sci.ccny.cuny.edu (Sergio Rojas)
  • Date: Fri, 25 Oct 1996 22:48:08 -0400
  • Organization: City College Of New York - Science
  • Sender: owner-wri-mathgroup at wolfram.com

Hello Folks:

   A simplified version of a mathematica program I am using, is as follow:

testing = "n" ;
While[ testing != "y" ,
  			Plot[x,{x,0,1}]; 
]


After reaching the sentence: testing = InputString["To continue, enter: y "]
the program wait around 30 seconds to receive an answer. If no answer
is given between 30 seconds, the While loop is ended and the program
continues with the next sentence. How this can be avoided? How to keep
Mathematica waiting until an answer is given?

The working enviroment is Mathematica 2.2 under OSF/1 in a DEC(alpha)
workstation.

    Cordially,

Sergio Rojas

e-mail: sergio at scisun.sci.ccny.cuny.edu



  • Prev by Date: Solve results
  • Next by Date: Re: Fit in Excel Mathlink
  • Previous by thread: Re: Solve results
  • Next by thread: Mysterious Page Skip/Double Cell Printing?