1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-27 21:28: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 -
;