From: Sam S. <sd...@gn...> - 2002-03-28 23:57:56
|
> * In message <3CA...@ce...> > * On the subject of "[clisp-list] how to find a file in a search path?" > * Sent on Thu, 28 Mar 2002 16:47:33 +0100 > * Honorable Christian Schuhegger <Chr...@ce...> writes: > > i have a question on how to find a file in a search path like: > (#P"C:\\lppeii\\obj\\fasl\\**\\" #P"C:\\lppeii\\src\\**\\" #P"C:" > #P"C:\\CLISP\\**\\") > > obviously the implementation has a way to do this, because "require", > "load", "open", ... find files in the searchpath. but is there a > function that i can use like: > (locate-file "lppe-language.lisp") > -> > #P"C:\\lppeii\\src\\core\\lppe-language.lisp" what do you need this for? clisp has sys::search-file in init.lisp - this is internal, unexported &c, you use it at your own risk. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux Keep Jerusalem united! <http://www.onejerusalem.org/Petition.asp> Read, think and remember! <http://www.iris.org.il> <http://www.memri.org/> Never underestimate the power of stupid people in large groups. |