Thanks, Dale! That worked. But now, in spite of the fact that the Rolling Stones tell me "You can't always get what you want...", I'm gonna give it the ol' college try...
Please see the following program lines:
F(112T)=FEAT/CIRCLE,INNER,CART,-186,-146,-3.25,0,0,1,5
MEAS/CIRCLE,F(112T),4
ENDMES
OUTPUT/FA(112T),TA(1)
okng=OBTAIN/TA(1),3
IF/(okng.eq.'OUTOL')
TEXT/OUTFIL,'Part is out of tolerance!'
ENDIF
This almost gives me what I want. However, after the actual data is OUTPUT, it draws a dashed line underneath the data and then prints the "out of Tolerance" alert. Then, the next data line prints immediately under the alert, again followed by a dashed line. The locations of the dashed lines make it appear that the Out of tolerance alert is for the SECOND line of data (112M), when is is really for the FIRST line of data(above the initial dashed line, 112T). (see output lines at bottom...)
Putting the last four program lines (above) BEFORE the OUTPUT line produces the error "Actual tolerance [1] has not yet been evaluated".
How can I get the INTOL/OUTOL value into the OKNG variable prior to printing the OUTPUT data from TA(1)?
----------------------------------------------------------
23-Feb-2004 15:23 Holes(112 Page 1
----------------------------------------------------------
(mm) ACTUAL NOMINAL LO-TOL HI-TOL DEVIATION GRAPHIC ERROR
----------------------------------------------------------
Temperature Compensation: OFF
CIRCLE:112T
Diameter 5.100 5.000 -0.015 +0.015 0.000 ------>
----------------------------------------------------------
Part is out of tolerance!
CIRCLE:112M
Diameter 5.010 5.000 -0.015 +0.015 0.000 ---*---
----------------------------------------------------------
Duration 19 mins 15 secs PASS in:2 out:0 End of Report
==========================================================