Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Generic-swap/Logo/generic-swap.logo
Normal file
10
Task/Generic-swap/Logo/generic-swap.logo
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
to swap :s1 :s2
|
||||
localmake "t thing :s1
|
||||
make :s1 thing :s2
|
||||
make :s2 :t
|
||||
end
|
||||
|
||||
make "a 4
|
||||
make "b "dog
|
||||
swap "a "b ; pass the names of the variables to swap
|
||||
show list :a :b ; [dog 4]
|
||||
Loading…
Add table
Add a link
Reference in a new issue