程序员们,初学者遇到些问题,这个里面哪个错了啊,怎么改正呢?
(defun main.lisp (p)
(setq #t 20
#cell 50
#i 1
#j 1)
(while (<= #i (* m t))
(while (<= #j (* n t))
(setq #h (1+ (rem ((1- i) cell)))
(setq #w (1+ (rem ((1- j) cell)))
(setq #num1 (floor ((/ (1- i) cell))
#num2 (floor ((/ (1- j) cell)))
(setq #gap (/ (cell- m) (/ (* m t) (1- cell))))
(setq #col (floor (h+ (* num1 gap)))
#row (floor (w+ (* num2 gap))))
(setq #p (command "array" i j "")
#a (command "array" col row ""))
(setq #a p)
)