RosettaCodeData/Task/Arrays/Self/arrays-4.self
2015-11-18 06:14:39 +00:00

9 lines
213 B
Text

|v|
"creates an vector that holds up to 20 elements"
v: vector copySize: 20.
"access the first element"
v first printLine.
"access the 10th element"
(v at: 9) printLine.
"put 100 as second value"
vat: 1 Put: 100.