Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
View Elements of Array
Access Analyzer | Watches
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 name of the variable (the array) followed by the start element and, optionally, 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:
variable[ start_element ]( count_of_elements )
For example:
Point[3](2) displays the fourth and fifth elements of the Points array, as illustrated below.
If you entered Point[3] the Watches window would show the third array element only.
Learn more
The material ("material" includes all pages, documents and on-line graphics) on this web site is protected by copyright law. (C) 1998-2011 Sparx Systems Pty Ltd.