On Wed, Dec 16, 2015 at 08:51:52PM +0100, Marcos Cruz wrote: > And > anyway this is a command line tool intended to be used in tool chains, > concatenated commands, Makefile... (so `quit` or `bye` are not an > option, because the Forth system must exit with an error).
1 (BYE) Maybe have a word : typecr ( c-addr u -- ) type cr ; : ?error-exit ( f c-addr u -- ) rot if ['] typecr stderr outfile-execute 1 (bye) then 2drop ; Used as in ... ( f ) s" Wrong size for the card type." ?error-exit - anton