When NUMBER is passed an invalid number, it currently prints the error string es_syntax, which says:
es_syntax: .text "Undefined word", 0
This makes sense when NUMBER is being called by INTERPRET (as the word was not found in the dictionary and now NUMBER is having trouble turning it into a number). It doesn't make sense when NUMBER is being used on its own.
Change the message to "Undefined word or invalid number" to cover both cases.
When NUMBER is passed an invalid number, it currently prints the error string es_syntax, which says:
This makes sense when NUMBER is being called by INTERPRET (as the word was not found in the dictionary and now NUMBER is having trouble turning it into a number). It doesn't make sense when NUMBER is being used on its own.
Change the message to "Undefined word or invalid number" to cover both cases.