1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-15 04:28:06 +11:00
collapseos/blk/155

6 lines
149 B
Plaintext
Raw Normal View History

2020-04-30 11:52:18 +10:00
: FILL ( a n b -- )
SWAP 2 PICK + ( a b a+n ) ROT ( b a+n a ) DO ( b )
DUP I C!
LOOP DROP ;
: ALLOT0 ( n -- ) H@ OVER 0 FILL ALLOT ;