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.
81
81
82
82
## Indexing elements
83
83
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:
86
88
87
89
``` chpl
88
90
var example_range = 0..10;
You can’t perform that action at this time.
0 commit comments