1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-12-29 13:58:06 +11:00
collapseos/blk/401

11 lines
174 B
Plaintext
Raw Normal View History

( returns negative value on error )
: _ ( c -- n )
( '0' is ASCII 48 )
48 -
DUP 0< ( bad ) OVER 2 < ( good ) OR IF EXIT THEN
( bad )
255 -
;