The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Q: About PAUSING in V2.2
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Sergio Rojas

Posts: 40
Registered: 12/7/04
Q: About PAUSING in V2.2
Posted: Oct 25, 1996 10:21 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hello Folks:

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

testing = "n" ;
While[ testing != "y" ,
Print["Are You happy ?"] ;
testing = InputString["To continue, enter: y "]

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)


Sergio Rojas


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.