//  check DECIMAL variable
//
WHILE(#DECIMAL  ??? )// check DECIMAL to see if it is between 1 and 4
 PAUSE[TX="ERROR: The number of decimal places must be between 1 and 4", PT=1] // Include box cancel option
    #DECIMAL=1000000  // this resets DECIMAL variable to an unknown value
ENDW
//
    Above is a macro I'm writing for SmartCAM V11.5. The problem I'm having is figuring out how to check the variable #DECIMAL to see if it's a number from one to four in the WHILE line. Any suggestions?
 
Thanks

Reply via email to