<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>CAD Forum discussion (EN) : Simple Lisp Problem?</title>
  <link>https://www.cadforum.cz/forum_en/</link>
  <description><![CDATA[This is an XML content feed of; CAD Forum discussion (EN) : AutoCAD : Simple Lisp Problem?]]></description>
  <pubDate>Sun, 31 May 2026 20:11:28 +0000</pubDate>
  <lastBuildDate>Mon, 29 Nov 2010 16:58:24 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://www.cadforum.cz/forum_en/RSS_post_feed.asp?TID=4862</WebWizForums:feedURL>
  <image>
   <title><![CDATA[CAD Forum discussion (EN)]]></title>
   <url>https://www.cadforum.cz/forum_en/forum_images/web_wiz_forums.png</url>
   <link>https://www.cadforum.cz/forum_en/</link>
  </image>
  <item>
   <title><![CDATA[Simple Lisp Problem? : Hi,The lisp below works great...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=4862&amp;PID=12014&amp;title=simple-lisp-problem#12014</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=149425">jpkibble</a><br /><strong>Subject:</strong> 4862<br /><strong>Posted:</strong> 29.Nov.2010 at 16:58<br /><br />Hi,<br><br>The lisp below works great for extracting a list of comma separated values from a csv file. In this case two columns with x coordinates in one and y coords in another. <br><br>However when I try and use car and cadr to extract the first column value from the second CAD returns an error.<br><br>I'm sure this one's about the data type not being a list.<br><br>Can anyone help?<br><br><br><br><br>(defun c:csv ()<br><br>(setq selfile (getfiled "Select File" "" "csv" 0))<br><br>(setq openfile (open selfile "r"))<br><br>(while (setq line (read-line openfile))<br><br>(defun c:csv ()<br><br>(setq selfile (getfiled "Select File" "" "csv" 0))<br><br>(setq openfile (open selfile "r"))<br><br>(while (setq line (read-line openfile))<br><br>(setq linex (car line))<br>(setq liney (cadr line))<br><br>(princ "\n")<br>(princ line)<br>(princ "\n")<br>(princ linex)<br>(princ "\n")<br>(princ liney)<br><br>)<br><br><br><br>)<br><br>]]>
   </description>
   <pubDate>Mon, 29 Nov 2010 16:58:24 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=4862&amp;PID=12014&amp;title=simple-lisp-problem#12014</guid>
  </item> 
 </channel>
</rss>