mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-26 06:38:06 +11:00
bd38d80f9c
and renamed it "Core words". Also, reworded the presentation.
8 lines
126 B
Plaintext
8 lines
126 B
Plaintext
( returns negative value on error )
|
|
: _ ( c -- n )
|
|
DUP '0' '1' =><= IF '0' - EXIT THEN
|
|
DROP -1 ( bad )
|
|
;
|
|
|
|
|