Search found 3 matches

by jhud
Mon Dec 25, 2017 9:27 am
Forum: Common Lisp
Topic: Read Text File In Current Directory
Replies: 6
Views: 46133

Re: Read Text File In Current Directory

Thanks for the thorough reply! About my setup... I work with Lisp both on my school's Macs using Clozure CL and on my PC at home using LispWorks, and I keep my files on a flash drive so I can go between the two. I've tried using *default-pathname-defaults* before, but it always comes up as an empty ...
by jhud
Sat Dec 16, 2017 2:40 pm
Forum: Common Lisp
Topic: Read Text File In Current Directory
Replies: 6
Views: 46133

Re: Read Text File In Current Directory

Thanks for the response! I'm asking about this for a school assignment, and in class it's a bit frowned upon to import external... uh... modules/libraries/whatever-they're-called-in-Lisp. Also the whole "system" thing is confusing me and seems to be more complicated than it's worth looking...
by jhud
Wed Dec 13, 2017 6:05 pm
Forum: Common Lisp
Topic: Read Text File In Current Directory
Replies: 6
Views: 46133

Read Text File In Current Directory

When reading from a text file in the same directory as the code doing the reading, most languages allow the user to simply put the name and extension of the file and assume the rest of the path is the same as that of the code. Lisp doesn't seem to have this feature, and half an hour of searching has...