Sid
Sid

Reputation: 489

Export functions from another file clisp

I am using the programming language clisp. I have some functions X,Y,Z in a .lisp file, lets say A.Now I am writing a different program in .lisp file B and I need to make use of the X,Y,Z.

How do i import functions in Clisp?

Upvotes: 0

Views: 581

Answers (2)

Rainer Joswig
Rainer Joswig

Reputation: 139411

CLISP is not really a programming language. It is an implementation of the programming language Common Lisp with many extensions.

You can load files with the function LOAD.

Upvotes: 2

stark
stark

Reputation: 13187

clisp implements common lisp functions so:

(load 'myfile)

Upvotes: 2

Related Questions