collapseos/blk/107

11 lines
382 B
Plaintext
Raw Normal View History

: _F ( F without _type and _pln. used in VE )
FBUF EDPOS @ _cpos ( a1 a2 )
2020-05-01 21:52:38 -04:00
BEGIN
C@+ ROT ( a2+1 c2 a1 ) C@+ ROT ( a2+1 a1+1 c1 c2 )
= NOT IF DROP FBUF THEN ( a2 a1 )
2020-05-22 14:17:38 -04:00
TUCK C@ 0xd = ( a1 a2 f1 )
2020-05-01 21:52:38 -04:00
OVER BLK) = OR ( a1 a2 f1|f2 )
UNTIL ( a1 a2 )
DUP BLK) < IF BLK( - FBUF + -^ EDPOS ! ELSE DROP THEN ;
: F FBUF _type _F EDPOS @ 64 / _pln ;