Search found 2 matches

by kunt
Thu Oct 11, 2012 1:17 pm
Forum: newLISP in the real world
Topic: (save) + arrays
Replies: 2
Views: 2139

Re: (save) + arrays

i initialize 3-dimensional array w/ only one element, as follows: (define world-root (array 1 1 1 (list world-new-entry))) the number of elements is being increased during the program execution. every element is a list. and even this simple situation does not work. for now i switched to lists entire...
by kunt
Wed Oct 10, 2012 1:47 pm
Forum: newLISP in the real world
Topic: (save) + arrays
Replies: 2
Views: 2139

(save) + arrays

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: (set 'world-root (array 1 1 1 (flat '( (((nil 1 "data/maps/start.lisp"))))))) and if we eval this w...