[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: current source file?



> What is the proper way in CLISP to retrieve the name of the current
> source file (the equivalent of Lucid's and Allegro's *source-pathname*)?

Since 1993-11-08, CLISP has the variables *LOAD-PATHNAME*, *LOAD-TRUENAME*,
*COMPILE-FILE-PATHNAME*, *COMPILE-FILE-TRUENAME*. See CLtL2 for details.

In CLISP there is no way to get at the file name a particular function came
from.


                    Bruno Haible
                    haible@ma2s2.mathematik.uni-karlsruhe.de