I'm working on a 36pc setup with a counter and variable amount of pieces with origin point movements.
I've got a check in place to see if the number is outside of the numbers 1 through 36 but simply writing the letter "K" for example beats this entire check and the machine starts running..
So, in short, i'm trying to make the input fool proof.. Any way to check for numbers only?
LABEL/L1
C1 =COMMENT/INPUT,NO,FULL SCREEN=NO,
Please give me an integer between 1 and 36
IF/ROUND(C1.INPUT)<>C1.INPUT OR C1.INPUT==0 OR C1.INPUT>36
GOTO/ L1
END_IF/
LABEL/L1
C1 =COMMENT/INPUT,NO,FULL SCREEN=NO,
Please give me an integer between 1 and 36
IF/ROUND(C1.INPUT)<>C1.INPUT OR C1.INPUT==0 OR C1.INPUT>36
GOTO/ L1
END_IF/