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:

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

Watches_Arrays

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

Learn more