Adding erase and blank.
This commit is contained in:
@ -192,7 +192,8 @@ variable hld
|
|||||||
( Fill, Move )
|
( Fill, Move )
|
||||||
: cmove ( a a n -- ) for aft >r dup c@ r@ c! 1+ r> 1+ then next 2drop ;
|
: cmove ( a a n -- ) for aft >r dup c@ r@ c! 1+ r> 1+ then next 2drop ;
|
||||||
: cmove> ( a a n -- ) for aft 2dup swap r@ + c@ swap r@ + c! then next 2drop ;
|
: cmove> ( a a n -- ) for aft 2dup swap r@ + c@ swap r@ + c! then next 2drop ;
|
||||||
: fill ( a a n -- ) swap for swap aft 2dup c! 1 + then next 2drop ;
|
: fill ( a n ch -- ) swap for swap aft 2dup c! 1 + then next 2drop ;
|
||||||
|
: erase ( a n -- ) 0 fill ; : blank ( a n -- ) bl fill ;
|
||||||
|
|
||||||
( Better Errors )
|
( Better Errors )
|
||||||
: notfound ( a n n -- )
|
: notfound ( a n n -- )
|
||||||
|
|||||||
Reference in New Issue
Block a user