Handbook
Glossary
check-number ( str -- n )
Vocabulary
smalltalk
.
parser
Inputs
str
an
object
Outputs
n
an
object
Definition
USING:
kernel
math.parser
strings
;
IN:
smalltalk.parser
:
check-number
( str -- n )
>string
[
string>number
]
[
bad-number
]
?unless
;