- Subject: Re: read_mini throws Run-Time Error
- From: "John E. Davis" <davis@xxxxxxxxxxxxx>
- Date: Thu, 18 May 2006 01:17:38 -0400
Jörg Sommer <joerg@xxxxxxxxxxxx> wrote:
>why read_mini() throws a RuntimeError when pressing Ctrl+G instead of
>UserBreakError?
UserBreakError is a "subclass" of the RuntimeError. This means that
UserBreakError is a specific kind of RuntimeError.
I just executed the following and it indicated that ^G produced a
UserBreak error.
define test ()
{
variable e;
try (e)
{
() = read_mini ("foo", "", "");
}
catch AnyError:
{
vmessage ("read_mini caught %s error", e.descr);
}
}
What does this produce for you?
Thanks,
--John
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2006 date index]
[2006 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]