Subject: Re: [clisp-list] array-help

From: Pierpaolo BERNARDI <[email-masked]>
Date: Tue, 20 Feb 2001 23:19:30 +0100 (MET)

On Tue, 20 Feb 2001, Justice, Randy -CONT wrote:

> Hi.
> 
> Can some explain?
> 
> I have an 2D array. I pass the array to a function. 
> 
> It function changes the array that is passed to the function.
> 
> It looks like a array is passed as a reference not a values.
> 
> Is their a method to pass arrays as values? 

No (using your terminology). If you want a copy of the array, you must do
it yourself.

However, note that your terminology is not correct and is likely to
cause confusion. In Lisp you can only pass _values_ to functions, as
references are not first class.

P.

> (defun testone (tt value)

8-)