This object is in archive! 

Why Warning for invalid use of variable?

Mr Z shared this question 11 years ago
Answered

I can drop a variable in then “when puzzle” but then gets a warning, and marked as invalid!


P7sYnzvvaxLo3Ygky2o3


If I can drop it in the “when” then the variable should be tested agaist TRUE or (not-nul).

If it droppable then is should be valid, or why else droppable?

And why save it as Invalid?

It also could be useful to have constants TRUE and FALSE to be able to check variable against.


Note:

For me as a programmer that Message was understandable (and also explaned a little about your implementation, BUT for a ordinary end-user that is NOT understandable.

The Title should have been “Warning – Invalid usage of variable A-test” or something like that. And the rest as a technical explanation ;-)

Replies (1)

photo
2

Rule must have event dependency, you can't use just variable in when clause because nothing will trigger that rule to be executed. You can evaluate your variable with operator or later in if block condition.

Replies have been locked on this page!