Dealing with Integers on the Prime. (SOLVED!)
|
04-14-2015, 05:43 PM
Post: #8
|
|||
|
|||
RE: Dealing with Integers on the Prime. Help!
Hi DrD!
Thank for your suggestion, I have a question, the program accepts the input values perfectly, just the way I wanted, but when I'm entering the values the program just don't exit, even if I press ESC or back-Space(DEL), it forces the User to enter the correct type of arguments otherwise the program won't end. how can I exit the program anytime I want? EXPORT test() BEGIN local A,B,C; repeat {A:=0,B:=0,C:=0}; // Recycles non-ntegers INPUT({{A,[0],{10,15,1}},{B,[0],{40,15,1}},{C,[0],{70,15,1}}},"STANDARD FORM",{"A:","B:","C:"},{"Coefficient A must be a Positive Integer.","Coefficient B must be an Integer.","Coefficient B must be an Integer."}); until fp(A)==0 AND A≥0 AND fp(B)==0 AND fp(C)==0; PRINT(); PRINT("Values are Valid."); PRINT("A="+A+" B="+B+" C="+C); END; Spybot. Spybot. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Dealing with Integers on the Prime. (SOLVED!) - Spybot - 04-13-2015, 05:23 AM
RE: Dealing with Integers on the Prime. Help! - Spybot - 04-13-2015, 09:26 PM
RE: Dealing with Integers on the Prime. Help! - Tim Wessman - 04-13-2015, 10:12 PM
RE: Dealing with Integers on the Prime. Help! - Spybot - 04-13-2015, 10:35 PM
RE: Dealing with Integers on the Prime. Help! - Han - 04-14-2015, 12:23 AM
RE: Dealing with Integers on the Prime. Help! - Spybot - 04-14-2015, 03:11 AM
RE: Dealing with Integers on the Prime. Help! - DrD - 04-14-2015, 11:18 AM
RE: Dealing with Integers on the Prime. Help! - Spybot - 04-14-2015 05:43 PM
RE: Dealing with Integers on the Prime. Help! - DrD - 04-14-2015, 09:28 PM
RE: Dealing with Integers on the Prime. Help! - Han - 04-14-2015, 06:14 PM
RE: Dealing with Integers on the Prime. Help! - Spybot - 04-14-2015, 10:17 PM
|
User(s) browsing this thread: 1 Guest(s)