1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-12-27 02:58:05 +11:00
collapseos/blk/361
Virgil Dupras 2d9a07d215 blkunpack: don't include trailing empty lines
This was becoming heavy to manage.
2020-06-23 06:52:34 -04:00

6 lines
124 B
Plaintext

( returns negative value on error )
: _ ( c -- n )
DUP '0' '1' =><= IF '0' - EXIT THEN
DROP -1 ( bad )
;