Hi All im new to the site. Having a bit of a problem, im pretty new to lisp but I've been trying to learn it just as something to experiment with for fun 
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)
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
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)
(defparameter *imalist* (list))
So that would define a blank listand 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