Need help with indexing declared arrays (Lisp)



Robert Dodier <robert_dodier@yahoo.com> writes:

> I'm attempting to index multidimensional declared arrays
> (as declared with "array(e,10,10,10)" for example) in Lisp.
> It seems the way to do this is to use MAREF like this:
>
>   (MAREF (TRD-MSYMEVAL |$e| '|$e|) 4 2 3))

I'd suggest to access the underlying lisp array via

(symbol-array (mget '|$e| 'array))

See the comment which I added some time ago to the beginning of
src/marray.lisp.

I don't think you should use TRD-MSYMEVAL, which is mainly for
translated code.

Wolfgang