
Anyways Im trying to figure out how to read in data and store it as kinda a global parameter.
Like for instance (dunno if I can do this)
Code: Select all
(defparameter *imalist* (list))
and then I would read data from "mydata.txt"
which contains various numbers.
I found something on google, but it didnt actually store the data in anything. I'd prefer to store it in a list.....but everything i've found doesn't keep it in a variable.
then I can do stuff with *imalist* but now after I read in the data *imalist* would be a list with a bunch of numbers in it. Then Im gonna do some math calculations on the list (but thats for another day) the main problem I have right now is Storing them into a list (because I have the function done that calculates the average of the *imalist* right now)
Appreciate everyones help