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

It is not always possible to evaluate the content of large data structures or arrays using the local variables display. To inspect one or more elements of an array you can use the Watches window. In the toolbar edit box you type the name of the variable 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, as follows:

variable[ start_element ]( count_of_elements )



Displays ten elements of string array starting at element zero.

char* m_pStrings;


Displays the 100th element of integer array m_Numbers

int m_Numbers[200]