- bug in ABORT" ?

From: Gene LeFave <glefave_at_wwa.com>
Date: Wed, 30 Dec 1998 19:14:29 -0600

I don't think this is an error. You would expect that the actions for
ABORT" would be somewhat hard coded. But in swift forth Abort code just
"throw"s an error. This is like a jump to higher level code (I think).
Anyway, INCLUDE catches the error and just prints out it's own error
message. While the command interpretter when it catches the error it
displays a pretty box. I think what is needed is some type of standard
Catch processor like the default windows actions to handle these fairly
standard THROWS.

Gene

talk_at_forth.com wrote:
>
> Original sender: ForthCAD <mail_at_forthcad.com>
> I think ABORT" is not just:
>
> for this definition:
>
> : DOABORT ( -- ) TRUE abort" here just abort !" ;
>
> If I execute DOABORT in the console, its OK: the message appear.
>
> If I load a source file with DOABORT outside a definition, the message don't appear...
>
>

.
Received on Wed Dec 30 1998 - 19:14:29 PST


Subscribe to our e-mail list service. It's free for all SwiftForth and SwiftX users!

This archive was generated 09-Feb-2012. Archive updated nightly.