Array
Array value Expression
Array expression can be created using the ARRAY
keyword followed by a list of expression between [
and ]
.
Or you can write the list of expressions directly with [
and ]
Slice Expression
Slice expression can be used to return a slice from array from [start:end
.
Slice expression can be used also with 1 as start range to return a slice from array from 1 to the end.
Slice expression can be used also with start only range to return a slice from array from start to length of array.