Testing a group multiple statement Owords

More
5 years 11 months ago #190689 by Vmax549
Using Owords how would one go about testing a Group statement such as

IF[ new_tool GT 0 ] AND [new_tool LT 13] AND [old_tool LT 13 ] AND [old_tool GT 0 ]

I did look through the DOCs but did not see anything that related.

(;-) TP

Please Log in to join the conversation.

More
5 years 11 months ago #190691 by Aciera
So this did not work?
Code:
IF[[ new_tool GT 0 ] AND [new_tool LT 13] AND [old_tool LT 13 ] AND [old_tool GT 0 ]]

Please Log in to join the conversation.

More
5 years 11 months ago #190701 by MaHa
[strike]Try evaluate the groups GT / LT by OR[/strike]

[strike]o779 IF [#<new_tool> GT 0] AND [#<old_tool> GT 0 OR #<new_tool> LT 13] AND [#<old_tool> LT 13]
...........................
o779 ENDIF[/strike]

Edit:
That was a lunchbreak post, and i am wrong. Above, from ACIERA is the correct way to do.

Please Log in to join the conversation.

More
5 years 10 months ago #190734 by Vmax549
That probably would work. But I figured out that this works also

IF[ new_tool GT 0 AND new_tool LT 13 AND old_tool LT 13 AND old_tool GT 0 ]

The entire statement has to be inside of 1 set of brackets

Thanks, (;-) TP

Please Log in to join the conversation.

Time to create page: 0.084 seconds
Powered by Kunena Forum