Dealing with Integers on the Prime. (SOLVED!)
|
04-13-2015, 05:23 AM
(This post was last modified: 04-14-2015 10:18 PM by Spybot.)
Post: #1
|
|||
|
|||
Dealing with Integers on the Prime. (SOLVED!)
Hi Everyone!
My question is... How do I control a program to accept only positive integers as input arguments? (I hope it is possible!). The following code accepts pretty much anything(integers,fraction, floating etc...). So, looking for more information about types of objects in the Prime, we all know the TYPE command, which says that [0] are reals, and [1] are integers. So that's how I assume they are consolidated internally, Am I wrong? EXPORT test1() BEGIN LOCAL var; INPUT(var,[1],"Title","Label","Enter an Integer."); MSGBOX(var); END; Why it is accepting any kind of input? Thank you. 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)