I like the way FigForth handles message printout, either error messages or other messages.
Normally, error messages are stored on screens 4 & 5.
The meaning of MESSAGE according to the Fig Guide is:
Code:
MESSAGE prints on the terminal n'th line of text relative to screen 4.
I take this as it can also mean that messages can be stored on Screens 2 & 3 and displayed using a negative number. Although, according to the guide, it doesn't look like
MESSAGE allows for block numbers to be subtracted from the starting point of Screen #4, to get to 2 or 3.
1) Is this even a good idea, or is there some reason one shouldn't do this?
1) Another question is, is there even a standard for error numbers stating that a certain error number should produce a certain error?
3) And one more question, in other Forths, are errors grouped together and printed using message #'s or are they printed inline with the definition where the error happens?