tasks a-s
This commit is contained in:
parent
47bf37c096
commit
b83f433714
12433 changed files with 156208 additions and 123 deletions
10
Task/Copy-a-string/Logo/copy-a-string.logo
Normal file
10
Task/Copy-a-string/Logo/copy-a-string.logo
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
make "a "foo
|
||||
make "b "foo
|
||||
print .eq :a :b ; true, identical symbols are reused
|
||||
|
||||
make "c :a
|
||||
print .eq :a :c ; true, copy a reference
|
||||
|
||||
make "c word :b "|| ; force a copy of the contents of a word by appending the empty word
|
||||
print equal? :b :c ; true
|
||||
print .eq :b :c ; false
|
||||
Loading…
Add table
Add a link
Reference in a new issue