Testing a group multiple statement Owords

More
30 Nov 2020 17:15 #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 or Create an account to join the conversation.

More
30 Nov 2020 17:43 - 30 Nov 2020 17:44 #190691 by Aciera
So this did not work?
IF[[ new_tool GT 0 ] AND [new_tool LT 13] AND [old_tool LT 13 ] AND [old_tool GT 0 ]]
Last edit: 30 Nov 2020 17:44 by Aciera.

Please Log in or Create an account to join the conversation.

More
30 Nov 2020 19:46 - 30 Nov 2020 22:42 #190701 by MaHa
Try evaluate the groups GT / LT by OR

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


Edit:
That was a lunchbreak post, and i am wrong. Above, from ACIERA is the correct way to do.
Last edit: 30 Nov 2020 22:42 by MaHa.

Please Log in or Create an account to join the conversation.

More
01 Dec 2020 02:00 - 01 Dec 2020 02:01 #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
Last edit: 01 Dec 2020 02:01 by Vmax549.

Please Log in or Create an account to join the conversation.

Moderators: cncbasher
Time to create page: 0.241 seconds
Powered by Kunena Forum