Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Contents |
Prev | Next |
Conditional Branching
You can incorporate condition branching in your Shape Scripts, using either the 'IfElse' statement or query methods that evaluate to True or False.
When you use these conditional branching statements, you can use the return command to terminate execution of the script when a branch condition has been satisfied. The Example Scripts topic provides several examples of this, such as the 'Return Statement Shape' script.
Learn more