Guard condition troubleshooting |
Category: |
C++
Applicable to: |
All Versions
Description: |
A missing 'return' statement is most often the cause of problems associated with guard conditions not executing as expected.
Make sure you have a 'return' statement in the guard condition expression.
For example, if you are calling a function myfunc() in the transition guard, you must have a return statement right before the function call itself.
e.g.
return myfunc();
Copyright © 1999, ObjecTime Limited. |