MasterZydra/ScriLa

Add support for arrays

Closed this issue · 0 comments

An array should be typed so that it only contains one data type.

# New empty array
int[] arr1 = [];
# Array with values
arr1 = [41, 42];
# Append array
arr1[] = 43;
# Overwrite entry
arr1[0] = 13;