- Subject: Re: what's integer() return for non integer string
- From: "John E. Davis" <davis@xxxxxxxxxxxxx>
- Date: Sun, 6 May 2007 13:11:22 -0400
=?UTF-8?Q?J=C3=B6rg?= Sommer <joerg@xxxxxxxxxxxx> wrote:
>BTW: Why slsh wants two semicolons at the end?
> try foo = integer("test"); catch SyntaxError: foo = 0;;
The statement is not complete. For example:
try foo = integer("test");
catch SyntaxError: foo = 0;
catch IOError: ...
--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>.
[2007 date index]
[2007 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]