Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 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