On Thu, Nov 12, 2009 at 6:38 PM, Robert Campbell <rrc...@gmail.com> wrote:
> C:\dev\clojure>java -cp clojure.jar clojure.lang.Repl
> Clojure 1.1.0-alpha-SNAPSHOT
> user=> (def grid1 [01 02 03 04 05 06 07])
> #'user/grid1
> user=> grid1
> [1 2 3 4 5 6 7]
> user=> (def grid2 [01 02 03 04 05 06 07 08])
> java.lang.NumberFormatException: Invalid number: 08
> java.lang.Exception: Unmatched delimiter: ]
> java.lang.Exception: Unmatched delimiter: )
> user=>

I guess that's because if you precede a number with 0, it is treated
as Octal numbers and there is no Octal 8. :-)

Just a guess. I may be wrong.

-- 
  Ramakrishnan

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to