- Subject: Re: jed 0.99-17 looks good
- From: "John E. Davis" <davis@xxxxxxxxxxxxx>
- Date: Thu, 25 Nov 2004 13:13:33 -0500
Paul Boekholt <p.boekholt@xxxxxxxxx> wrote:
> return integer(a[np]);
>
>on or near line 185. Apparently this would give a 0 in slang 1, but gives an
>error in slang 2 when a[np] is not an integer.
The slang2 way of handling this would be to use:
try
return integer (a[np]);
catch ParseError:
return 0;
--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>.
[2004 date index]
[2004 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]