From: Haris Bogdanovi� on
Hi.

I have allegro cl free express edition.
How do I evaluate a whole file ?
I see only incremental evaluation option
which evaluates only one expression.

Thanks


From: Alan Malloy on
Haris Bogdanovi� wrote:
> Hi.
>
> I have allegro cl free express edition.
> How do I evaluate a whole file ?
> I see only incremental evaluation option
> which evaluates only one expression.
>
> Thanks
>
>

Use the load function:

[1]> (load "my-file.lisp")
;; Loading file my-file.lisp ...
;; Loaded file my-file.lisp
T

[2]>

--
Cheers,
Alan (San Jose, California, USA)
From: Haris Bogdanovic on
Can I make a shortcut to load function and then
press it when cursor is in editor to load file ?


From: Pascal J. Bourguignon on
"Haris Bogdanovic" <fbogdanovic(a)xnet.hr> writes:

> Can I make a shortcut to load function and then
> press it when cursor is in editor to load file ?

Yes: (defun l (x) (load x))
Then press: (l"file")RET

--
__Pascal Bourguignon__
From: Haris Bogdanovic on
> Yes: (defun l (x) (load x))
> Then press: (l"file")RET

I meant keyboard shortcut, sorry ?