Sometimes you want to use local variables and sometimes these were accessed in one state twice (e.g. read it and after that reset it).
To follow the data flow paradigm one can:
a) create a new state called "reset XY variable"
b) place a sequence around it and wire an error code through it
c) use the new error in connector at the local variable
where:
(a) is not always IMHO good style as the state machine gets bigger and bigger
(b) is not always good to read
(c) may be nice...no error handling is needed so "error in" may be enough
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has received less than 4 kudos within 4 years after posting will be automatically declined.