Post Reply 
Dealing with Integers on the Prime. (SOLVED!)
04-14-2015, 10:17 PM (This post was last modified: 04-15-2015 01:51 AM by Spybot.)
Post: #11
RE: Dealing with Integers on the Prime. Help!
I feel Blessed!

Great help I've been getting today.

Thank you DrD and Han your help! It was very illustrative to me. I wasn't aware of the 1 and 0 that the INPUT command returns everytime it is executed, but from now on I will be.
Well I finally got this thing going the way I wanted.



EXPORT test()
BEGIN
LOCAL A,B,C;
REPEAT
{A:=0,B:=0,C:=0};
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;
IF 0 THEN BREAK;
END;
END;



Thank you Guys!


Spybot.

Spybot.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Dealing with Integers on the Prime. Help! - Spybot - 04-14-2015 10:17 PM



User(s) browsing this thread: 1 Guest(s)