tasks a-s
This commit is contained in:
parent
47bf37c096
commit
b83f433714
12433 changed files with 156208 additions and 123 deletions
4
Task/Copy-a-string/Factor/copy-a-string-1.factor
Normal file
4
Task/Copy-a-string/Factor/copy-a-string-1.factor
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
"This is a mutable string." dup ! reference
|
||||
"Let's make a deal!" dup clone ! copy
|
||||
"New" " string" append . ! new string
|
||||
"New string"
|
||||
2
Task/Copy-a-string/Factor/copy-a-string-2.factor
Normal file
2
Task/Copy-a-string/Factor/copy-a-string-2.factor
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
SBUF" Grow me!" dup " OK." append
|
||||
SBUF" Grow me! OK."
|
||||
2
Task/Copy-a-string/Factor/copy-a-string-3.factor
Normal file
2
Task/Copy-a-string/Factor/copy-a-string-3.factor
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
SBUF" I'll be a string someday." >string .
|
||||
"I'll be a string someday."
|
||||
Loading…
Add table
Add a link
Reference in a new issue