Skip to content
Snippets Groups Projects
Commit be57df34 authored by Michael Aaron Murphy's avatar Michael Aaron Murphy
Browse files

Implement Slicing Arrays by ID

Implements the following syntaxes:

let a = [ 1 2 3 ]
echo @A[0]
echo @A[1]
echo @A[2]

echo @[echo 1 2 3][0]
echo @[echo 1 2 3][1]
echo @[echo 1 2 3][2]

echo [1 2 3][0]
echo [1 2 3][1]
echo [1 2 3][2]

Next up: array range slicing
parent df383a77
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment