1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-24 02:38:05 +11:00
collapseos/blk/449

11 lines
174 B
Plaintext
Raw Normal View History

2020-04-26 11:54:07 +10:00
( returns negative value on error )
: _ ( c -- n )
( '0' is ASCII 48 )
48 -
2020-05-03 10:32:20 +10:00
DUP 0< ( bad ) OVER 2 < ( good ) OR IF EXIT THEN
2020-04-26 11:54:07 +10:00
( bad )
255 -
;