1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-24 06:08:05 +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 -
;