Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

View Elements of Array

You can use the Watches window to inspect one or more specific elements of an array.

In the field to the left of the Watches window toolbar, type the variable name of the array followed by the start element and the number of elements to display. The start element is enclosed in square brackets and the count of elements is enclosed in parentheses; that is:


For example, Points[3](2) displays the fourth and fifth elements of the Points array, as illustrated.

If you entered Points[3] the Watches window would show the third array element only.



Execute > Windows > Watches


Execution Analyzer window toolbar : | Watches

Learn more