simple lisp doubt...

Started by
1 comment, last by Trap 17 years, 11 months ago
Hey, I'm trying to create an array in Common Lisp (i'm using clisp). However, I'm not being able to find the right functions... I know make-array creates one, but how does one insert, select, remove from it? I googled it a bit and I saw something like array-insert.... but that func is undefined... Help? Pls? Thanks
"Through me the road to the city of desolation,Through me the road to sorrows diuturnal,Through me the road among the lost creation."
Advertisement
HyperSpec: aref

Does this help?
HyperSpec arrays dictionary, what you need are mostly aref, (setf aref), adjust-array and vector-push-extend.
Don't forget that arrays are sequences, so you can use any function defined for sequences on arrays: sequence dictionary

This topic is closed to new replies.

Advertisement