bboypkj Posted October 3, 2007 Report Share Posted October 3, 2007 hey guys, i'm trying to create a macro that requires that 3 sets of if conditions be fulfilled to keep going for example: if var n1 < 3 and if var n2 > 3 OR if var n3 < 13 and if var n4 > 13 OR if var n5 < n10 and if var n6 > 92 that's an example, but how do i make sure that my sets of if statements are isolated and grouped? when i use the direct editor, i'm getting the feeling that macro express isn't isolating them how i want, and i can't find a command similar to using parenthesis Quote Link to comment Share on other sites More sharing options...
floyd Posted October 3, 2007 Report Share Posted October 3, 2007 Except for the Else command, there is no grouping. Macro Express will do the Boolean tests in the order they are written using the results of the first test (True or False) to compare with the next test, and so forth. In your example, if the N1 AND N2 test pass then both the N3 AND N4 and N5 AND N6 tests will be ignored. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.