- Posts: 338
- Thank you received: 0
Testing a group multiple statement Owords
5 years 11 months ago #190689
by Vmax549
Testing a group multiple statement Owords was created 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
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.
(
Please Log in to join the conversation.
5 years 11 months ago #190691
by Aciera
Replied by Aciera on topic Testing a group multiple statement Owords
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.
5 years 11 months ago #190701
by MaHa
Replied by MaHa on topic Testing a group multiple statement Owords
[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.
[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.
5 years 10 months ago #190734
by Vmax549
Replied by Vmax549 on topic Testing a group multiple statement Owords
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
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, (
Please Log in to join the conversation.
Time to create page: 0.084 seconds
