File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -81,8 +81,10 @@ different from languages like Python where this does not happen.
8181
8282## Indexing elements
8383
84- We can retrieve and reset specific values of an array using ` [] ` notation. Let's try retrieving and setting a
85- specific value in our example so far:
84+ We can retrieve and reset specific values of an array using ` [] ` notation. Note that we use the same square
85+ bracket notation in two different contexts: (1) to declare an array, with the square brackets containing the
86+ array's full index range ` [example_range] ` , and (2) to access specific array elements, as we will see
87+ below. Let's try retrieving and setting a specific value in our example so far:
8688
8789``` chpl
8890var example_range = 0..10;
You can’t perform that action at this time.
0 commit comments