预订演示

请注意 : 本帮助页面不适用于最新版本的Enterprise Architect. 最新的帮助文档在这里.

前页 后页

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