Verify the integer value in parameter
Posted: Fri Jan 09, 2015 9:47 pm
Hi Everyone,
How do you make sure that whoever runs the TI Process does not enter a decimal value in the parameter prompt in tm1 ?
What I’m thinking is doing a check in Prolog, using iF statement. I’d like to do ProcessQuit if user types in a decimal value. But I can’t think of a function that detects decimal value in parameter and then return a 1 or 0.
How do you make sure that whoever runs the TI Process does not enter a decimal value in the parameter prompt in tm1 ?
What I’m thinking is doing a check in Prolog, using iF statement. I’d like to do ProcessQuit if user types in a decimal value. But I can’t think of a function that detects decimal value in parameter and then return a 1 or 0.