VocabularysyntaxSyntaxERROR: class slots... ;
Inputs and outputs| class | a new tuple class to define |
| slots | a list of slot names |
Word descriptionDefines a new tuple class whose class word throws a new instance of the error.
NotesThe following two snippets are equivalent:
ERROR: invalid-values x y ;
TUPLE: invalid-values x y ;
: invalid-values ( x y -- * )
\ invalid-values boa throw ;
Definition