How about:-

#IF(#V13>=.1,#OR#V13<=0)<#EVAL(#V13=#ZCHK)>

In other words, if #V13 is between 0 and .1 don't change it, otherwise make
it equal #ZCHK.

Or do you want it the other way around?

#IF(#V13<.1, #OR#V13>0)<#EVAL(#V13=#ZCHK)>

Regards,

Bill in the UK.

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 05, 2003 3:27 PM
Subject: [mfg-smartcam] Need Syntax Help


> I'm trying to change my Z check clearance for one tool in a program. I'm
> doing this with a user element as the first element of that tool (eg. #V13
> =-.05). This is what I have in my @FXD2 section.
>
> #IF(#V13<>.1,#AND#V13<>0.0)<#EVAL(#V13=#V13)>#ELSE<#EVAL(#V13=#ZCHK)>
> < #ABSI>< #RTNLVL>< #FXD>< X#XPOS>< Y#YPOS>#EXLN
> < Z#ZDPTH>< R#V13 P#DWELL> <F#FEED>
>
> I know my IF statement isn't right "<#EVAL(#V13=#V13)>",(although I think
it's outputting correctly), but what's the correct syntax if the IF
> statement is true?
>
> Thanks, Dave
>
>
> ======================================================================
> To find out more about this mailing list including how to unsubscribe,
> send the message "info mfg-smartcam" to [EMAIL PROTECTED]
> ======================================================================
>
>

======================================================================
To find out more about this mailing list including how to unsubscribe,
send the message "info mfg-smartcam" to [EMAIL PROTECTED]
======================================================================

Reply via email to