langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
14
Task/Arrays/Slate/arrays.slate
Normal file
14
Task/Arrays/Slate/arrays.slate
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
slate[1]> #x := ##(1 2 3).
|
||||
{1. 2. 3}
|
||||
slate[2]> x
|
||||
{1. 2. 3}
|
||||
slate[3]> #y := {1 + 2. 3 + 4. 5}.
|
||||
{3. 7. 5}
|
||||
slate[4]> y at: 2 put: 99.
|
||||
99
|
||||
slate[5]> y
|
||||
{3. 7. 99}
|
||||
slate[6]> x first
|
||||
1
|
||||
slate[7]> x at: 0.
|
||||
1
|
||||
Loading…
Add table
Add a link
Reference in a new issue