RosettaCodeData/Task/Arrays/Boo/arrays.boo
2015-02-20 00:35:01 -05:00

8 lines
211 B
Text

myArray as (int) = (1, 2, 3) // Size based on initialization
fixedArray as (int) = array(int, 1) // Given size(1 in this case)
myArray[0] = 10
myArray = myArray + fixedArray // Append arrays
print myArray[0]