- Subject: Re: [slang-users] new slang 2 development snapshot released
- From: Paul Boekholt <p.boekholt@xxxxxxxxx>
- Date: Mon, 22 Nov 2004 17:40:41 +0100
On Mon, 22 Nov 2004 10:31:49 -0500, "John E. Davis" <davis@xxxxxxxxxxxxx> said:
>
> As Mike point out, S-Lang 2 throws an exception when it encounters a
> parse error. Such exceptions can be caught:
>
> expression = "(":
> try
> {
> eval ("(");
> }
> catch ParseError:
> {
> vmessage ("failed to parse expression");
> }
As I understand it, Ben just wants his code snippets to be checked for
syntax errors. Eval() will execute the code as well, definitely not what
he wants. What does byte-compiling do?
_______________________________________________
To unsubscribe, visit http://jedsoft.org/slang/mailinglists.html
[2004 date index]
[2004 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]