Is it possible to set a range between expression values?
Is it possible to set a range between expression values?
(OP)
For example:
I want to suppress 1 part in the assembly if the length of the block is less then 310 or greater then 320.
Is it possible to put this in one formula? I only got the formula working with the less function shown down here:
if (length_block<310) (0) else (1)
I want to suppress 1 part in the assembly if the length of the block is less then 310 or greater then 320.
Is it possible to put this in one formula? I only got the formula working with the less function shown down here:
if (length_block<310) (0) else (1)





RE: Is it possible to set a range between expression values?
I think in one formula is unposible, but You can write something like this:
formula1: if (length_block<310) (0) else (fomula2)
formula2: if (length_block<320) (1) else (0)
Best regards
Michal Nowak
RE: Is it possible to set a range between expression values?
Try if((length_block<310) | (length_block>320)) (1) else (0)
This will put a range.
Regards
Kapil
RE: Is it possible to set a range between expression values?