tasks a-s
This commit is contained in:
parent
47bf37c096
commit
b83f433714
12433 changed files with 156208 additions and 123 deletions
6
Task/Repeat-a-string/Forth/repeat-a-string-1.fth
Normal file
6
Task/Repeat-a-string/Forth/repeat-a-string-1.fth
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
: place-n { src len dest n -- }
|
||||
0 dest c!
|
||||
n 0 ?do src len dest +place loop ;
|
||||
|
||||
s" ha" pad 5 place-n
|
||||
pad count type \ hahahahaha
|
||||
Loading…
Add table
Add a link
Reference in a new issue