Arrays
You can group several values in an array.
numbers : Array Intnumbers = [ 1, 2, 3, 4, 5 ]
All values in an array must be of the same type. You cannot have an array of String
and Int
, for instance.
You can group several values in an array.
numbers : Array Intnumbers = [ 1, 2, 3, 4, 5 ]
All values in an array must be of the same type. You cannot have an array of String
and Int
, for instance.