I don't know much at all about expressions, labels, etc. I've been working the past few hours trying to make a command that will end my program if a particular dimension is out of spec. All I want is a code that #1) checks that dimension, #2) has a comment that informs the operator that the dimension is out of spec, #3) ends the program.
Here is the dimension as it is in the program. If the diameter is out of spec, I want it to trigger a comment to the operator, then end the program.
DIM 68= LOCATION OF CIRCLE F2 UNITS=IN ,$
GRAPH=OFF TEXT=OFF MULT=1.00 OUTPUT=BOTH HALF ANGLE=NO
AX NOMINAL +TOL -TOL MEAS OUTTOL DEV
D 1.4100 0.1500 0.2000 2.3337 0.7737 0.9237 -------->
END OF DIMENSION 68
I appreciate any help anyone can give me. Thanks!!