home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hall of Fame
/
HallofFameCDROM.cdr
/
prog1
/
4th_86.lzh
/
7OMIT3.4TH
< prev
next >
Wrap
Text File
|
1989-02-14
|
512b
|
19 lines
: OMIT
WORD LAST @ FIND DUP 0= IF ( found)
DROP ( CRLF ATOM ." " ^9^Not Found by OMIT " ." ) RETURN
THEN
DICTION OVER U> IF ( not in diction build area)
DROP ( " ^13 10^Can't omit system/attached entries^13 10^"
." ) RETURN
THEN
DUPB@ ( length) OVER + 4 + ( next)
REPEAT ( tos = move dest; nos = move src)
OVER LAST @ -
WHILE ( not past last)
1- SWAP 1- DUPB@ 3 PICK B! SWAP ( move one byte)
ENDWHILE
LAST ! ( update last) DROP
; IMMEDIATE