Troy:

In Logic ...

1)

ConditionA OR ConditionB will yield the following results ...

ConditionA is false. ConditionB is false ... result is false

ConditionA is false. ConditionB is true ... result is true

ConditionA is true. ConditionB is false ... result is true

ConditionA is true. ConditionB is true ... result is true

2)

ConditionA AND ConditionB will yield the following results ...

ConditionA is false. ConditionB is false ... result is false

ConditionA is false. ConditionB is true ... result is false

ConditionA is true. ConditionB is false ... result is false

ConditionA is true. ConditionB is true ... result is true

Also, remember that you can often make life easier by setting up a condition block that DOES NOTHING e.g. ...

- Code: Select all
`IfEx "[datecheckednumber] = 0 OR [datecheckednumber] = 6"`

... Sunday or Saturday

... do nothing

Else

... Monday to Friday

SetVar "[test]" "Triggered"

EndIf