RE:Simplest question: How to control some values in Input dialog box
- To: mathgroup at smc.vnet.net
- Subject: [mg67757] RE:Simplest question: How to control some values in Input dialog box
- From: abdou.oumaima at hotmail.com
- Date: Thu, 6 Jul 2006 06:53:54 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
It works Youpiiiiiiiiiiiiiiii Greattttttttttttttttt Thank you So Much "Ingolf Dahl (Sweden)". Your piece of code works perfectly. thank you again *********** Code's Ingolf Dahl (Sweden)******** CN= Input["Give an positive integer value to CN"]; While[ Or[ Not[ IntegerQ[CN]], CN<=0], CN= Input["Please, try to give a positive integer value to CN"]]; c= Input["Give a positive real value to c less than 0.9"]; While[ Or[ Not[ NumberQ[c]], c<=0, c>=0.9], c= Input["What the heck, c needs a positive real value to c less than 0.9!"]] Link to the forum page for this post: http://www.mathematica-users.org/webMathematica/wiki/wiki.jsp?pageName=Special:Forum_ViewTopic&pid=11702#p11702 Posted through http://www.mathematica-users.org [[postId=11702]]