At a is a structure that contains a group of elements we can declare an array using parentheses.
And inside those parentheses we are placing arrays elements best would be to show this on some example
for example here.
We are creating a which contains three elements 1 2 and 3 we can from by script easily call each element
of an array using dollar sign followed by curly brackets and inside of curly brackets we specified a
name.
In our case our essay is called at a.
And then inside square brackets we can specify index of an array.
Please note that the first element of an array has index 0.
Second element of an array has index 1 and so on.
Here we have other choices how to display information about a.
So if we want to display first second or first element of an array we are using indexes.
If you want display all items in a we are using inside square brackets at the symbol or asterisk.
But as we already discussed in lecture about in the NOW field separator asterisk displays all items
of array delimited by first character of Internode field.
Separate them we can also display all indexes in the array and we are doing this by prepending exclamation
mark before.
Add a name and inside square brackets we need to specify a symbol or asterisk.
Very good feature would be the possibility to display how many elements do we have in a form that we
are prepending hash symbol before as a name and as usual inside square brackets we are using as symbol
or asterisk we can also display the length of item 0 and 0 represents first element in a.
It is basically a line of first element in a.
And we are doing it by prepending Eshe before a name and inside square brackets we are putting a index
number.
So if we want to display a length of cert item in a we should put the number two inside square brackets.
So now let's write some script to see it in action.