Try conditionals around the #NTOOL word in your TMP file.
If that doesn't work put some logic in your TMP file. Something like this.
 @DECLARE
 # INT #oldtool
@START
#oldtool=#ntool
@TOOLCHG
#if(#ntool<>#oldtool)<T#NTOOL>
 
Don't have book in front of me so I dont know if syntax is correct.
 
Good Luck.
Mike DeBerry
               
----- Original Message -----
From: DRFrye
Sent: Friday, September 29, 2000 5:14 PM
Subject: [mfg-smartcam] always tweeking...

My code comes out so clean from Smartcam that I rarely even use the text editor.  No other software I've used can come close to this level.  But, on rare occasions, only one tool is in the program and #ntool will output the same tool as is already in use.  This causes an alarm at the nc control if not corrected.  Easy enough to fix, but I'm striving for bug-free code output.  How can I get it to... output no tool pre-call or... get it to pre-call a certain number tool if there's only one tool in the program?
 
thanks
dale

Reply via email to