Hi!
When I compile:
foo(x) := block([r], r : make_array('fixnum,2), r[0]:x,r[1]:x+1, return(r));
or
foo(x) := block([r:make_array('fixnum,2)], r[0]:x,r[1]:x+1, return(r));
foo stops working and gives the following error message:
"
Maxima encountered a Lisp error:
not a valid array reference to #(0 0)
Automatically continuing.
To reenable the Lisp debugger set *debugger-hook* to nil.
"
Is there a way to fix this problem?
Is it possible to compile code that uses arrays?
Fabrizio