- Subject: Re: JED documentation
- From: Brian Blais <bblais@xxxxxxxxxx>
- Date: Mon, 29 Mar 2004 20:47:54 -0500 (EST)
Hello,
Here's an interesting slang error. Perhaps someone can tell me what's going on?
The following code cannot translate the "08" into an integer. It seems to be
the only number that causes the problem. Running this script gives the error
below.
Weird!
Brian Blais
#!/usr/local/bin/jed -script
printf("%d\n",integer("02"));
printf("%d\n",integer("04"));
printf("%d\n",integer("06"));
printf("%d\n",integer("08"));
%-------------------------------- OUTPUT from script ----------
-> ./test.sl
2
4
6
S-Lang Error: Syntax Error: Unable to convert string to integer
S-Lang Traceback: integer
S-Lang Error: Syntax Error: called from line 6, file: test.sl
-----------------
bblais@xxxxxxxxxx
web.bryant.edu/~bblais
--------------------------
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]