check-number ( n -- )


Vocabulary
hamurabi.private

Inputs
nan object


Outputs
None

Definition


: check-number ( n -- )
{ [ f eq? ] [ 0 < ] [ fixnum? not ] } 1|| [
"HAMURABI: I CANNOT DO WHAT YOU WISH." print
"GET YOURSELF ANOTHER STEWARD!!!!!" print "exit" throw
] when ;