How to LOAD a FILE into the COMMON LISP interpretor



The command is :ld . Say you've put your COMMON LISP code in a file called myfile.lisp. You can load the file into the interpretor as follows. user input is shown in bold.


CL-USER(1): :ld myfile.lisp
; Loading /home/solaris/ieng9/.../myfile.lisp
CL-USER(2):


From that point on you can just call functions defined in the file.