RE:Simplest question: How to control some values in Input dialog box
- To: mathgroup at smc.vnet.net
- Subject: [mg67758] RE:Simplest question: How to control some values in Input dialog box
- From: abdou.oumaima at hotmail.com
- Date: Thu, 6 Jul 2006 06:54:07 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Hello Jean Marc, It sounds so good with your loops. It works perfectly. Thank you So much. CN =. ; While[ !(IntegerQ[CN] && Positive[CN]), CN = Input["Give an positive integer value to CN"]] c = 0; While[ !(RealQ[c] && 0 < c < 0.9), c = Input[ "Give a positive real value to c less than 0.9"]] Now I'm between two nicest code, your and dah's Code. have to choose one! Thank you once again! Link to the forum page for this post: http://www.mathematica-users.org/webMathematica/wiki/wiki.jsp?pageName=Special:Forum_ViewTopic&pid=11703#p11703 Posted through http://www.mathematica-users.org [[postId=11703]]