Hi all, I'm new to Clojure and new to Lisp but not new to software development. And I feel very dumb for having to ask what seems like a very noob question but I can't seem to figure this out.
If I want to load a source file into REPL it seems that I should be able to do this: (load-file "filename") but when I try this with a source file in a folder on my Windows XP box, (load-file "/cljhack/test1.clj") I get "java.lang.Exception: Invalid token: /cljhack/test1.clj" (less the quotes of course). I deliberately made test1.clj as simple as possible because I thought that the load-file might load and parse at the same time. It consists of the following line: ;Simplest possible clojure file So, I'm really stumped. Is this some problem with Windows XP? Using the directory separator the other way doesn't work, of course. Of course my ultimate aim is to be able to load and run a .clj file so if there's another approach I should be using, please feel free to tell me that. -- Onorio Catenacci III --~--~---------~--~----~------------~-------~--~----~ 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 clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---