From ... Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!kibo.news.demon.net!demon!newsfeed.belnet.be!news.belnet.be!news.brutele.be!nmaster.kpnqwest.net!nnum.kpnqwest.net!EU.net!nreader2.kpnqwest.net.POSTED!not-for-mail Newsgroups: comp.lang.lisp Subject: Re: Text file to Array Help Please References: <7271dfd0.0205221840.41184e75@posting.google.com> <7271dfd0.0205231058.59209f64@posting.google.com> Mail-Copies-To: never From: Erik Naggum Message-ID: <3231176581032429@naggum.net> Organization: Naggum Software, Oslo, Norway Lines: 14 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 23 May 2002 21:03:01 GMT X-Complaints-To: newsmaster@KPNQwest.no X-Trace: nreader2.kpnqwest.net 1022187781 193.71.199.50 (Thu, 23 May 2002 23:03:01 MET DST) NNTP-Posting-Date: Thu, 23 May 2002 23:03:01 MET DST Xref: archiver1.google.com comp.lang.lisp:33776 * Samantha Skyler | You need to give the computer the dimensions of the array. Is there | anyway that you can have the program determin that automatically from | the text file? Build lists of lists, row by row, then give the nested list structure you have constructed to make-array as the :initial-contents argument. The collect keyword in loop is a great way to build lists. -- In a fight against something, the fight has value, victory has none. In a fight for something, the fight is a loss, victory merely relief. 70 percent of American adults do not understand the scientific process.