You. Forth. Simplicity.

git repository
download
prior releases
documentation wiki
issue tracker
mailing list and forum
irc channel and logs
try it


This wiki remains, like the original forum, mainly for historical value. There is a new wiki which, while having less content, is more secure and oriented towards modern Retro implementations.

reload node | edit | recent changes | front page

Handling Syntax Errors

When a token is not found in the dictionary and can not be converted to a number, it is passed to a vectored error handler named word?

This word takes a counted string off the stack, and should return either true (if it could handle the error) or false (if it could not) on TOS. It may return other values as well.

The default is to display an error message. If you change this, the original definition will be lost (9.0 and 9.1). In 9.2 it becomes the default, so that a devector will recover it.