1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-30 21:18:07 +11:00
collapseos/blk/361
Virgil Dupras bd38d80f9c Move Cross-compiled core from B390 to B350
and renamed it "Core words". Also, reworded the presentation.
2020-05-15 22:44:49 -04:00

8 lines
126 B
Plaintext

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