You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Defines a length 5 int array
int[5] foo = {1, 2, 3, 4, 5}
# Gets the 4th element in the array
foo[3]
# Returns a slice of the 2nd to 4th elements
foo[1:3]
# Returns foo array as a vector
int<5>(foo)
The array syntax should be as follows