A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
|
|
@ -0,0 +1,6 @@
|
|||
: >string ( d -- addr n )
|
||||
dup >r dabs <# #s r> sign #> ;
|
||||
|
||||
: inc-string ( addr -- )
|
||||
dup count number? not abort" invalid number"
|
||||
1 s>d d+ >string rot place ;
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
: inc-string ( addr n -- )
|
||||
over count number? not abort" invalid number"
|
||||
rot s>d d+ >string rot place ;
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
s" 123" pad place
|
||||
pad inc-string
|
||||
pad count type
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
s" 123" pad place
|
||||
pad 1 inc-string
|
||||
pad count type
|
||||
Loading…
Add table
Add a link
Reference in a new issue