9 lines
213 B
Text
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.
|