On Mon, Oct 6, 2008 at 2:04 AM, Jim Menard <[EMAIL PROTECTED]> wrote:
>
> nimbus:/usr/local/src/Lisp/clojure> clojure
> Clojure
> user=> 0xff
> java.lang.IllegalArgumentException: Invalid number: 0xff
> java.lang.Exception: ReaderError:(2,1) Invalid number: 0xff
>        at clojure.lang.LispReader.read(LispReader.java:160)
>        at clojure.lang.Repl.main(Repl.java:68)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at jline.ConsoleRunner.main(ConsoleRunner.java:69)
> Caused by: java.lang.IllegalArgumentException: Invalid number: 0xff
>        at clojure.lang.LispReader.readNumber(LispReader.java:198)
>        at clojure.lang.LispReader.read(LispReader.java:117)
>        ... 6 more
>
> I'm using OS X 10.5 (Leopard). I can't figure out how to determine the
> version of Clojure I am using from the command line, but I believe I'm
> using the latest version 20080916.

The previous release (from June) did not support hexadecimal numbers.
Perhaps you're using that version?

I don't know how you tell what version of clojure you're using, but if you run:

jar tvf clojure.jar

all the files should have timestamps in September (mostly the 16th.)

-- 
Michael Wood <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to