(save) + arrays
Posted: Wed Oct 10, 2012 1:47 pm
hello.
it looks like (save) does not handle arrays correctly.
i have a 3-dimensional array and want to save it to a file for further re-initialization, but it fails.
what i get after (save) in a file:
and if we eval this we get:
> (set 'world-root (array 1 1 1 (flat '((((nil 1 "data/maps/start.lisp")))))))
(((nil)))
which is not correct.
any suggestions?
ps: newlisp-10.4.3
it looks like (save) does not handle arrays correctly.
i have a 3-dimensional array and want to save it to a file for further re-initialization, but it fails.
what i get after (save) in a file:
Code: Select all
(set 'world-root (array 1 1 1 (flat '(
(((nil 1 "data/maps/start.lisp")))))))
> (set 'world-root (array 1 1 1 (flat '((((nil 1 "data/maps/start.lisp")))))))
(((nil)))
which is not correct.
any suggestions?
ps: newlisp-10.4.3