<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Using lookup tables generated by excel</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/16270/using-lookup-tables-generated-by-excel</link><description> Hi All 
I&amp;#39;m experimenting with tables generated by microsoft excel, i copy and paste right into my keil compiler to use in an array, the problem is I get the table pasted with &amp;lt;CR&amp;gt; separator, is there a way to replace this carriage return by a comma</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Using lookup tables generated by excel</title><link>https://community.arm.com/thread/72078?ContentTypeID=1</link><pubDate>Wed, 12 Nov 2003 13:02:22 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:948fa4fb-a392-4ef3-8869-90538541edfd</guid><dc:creator>Mahmood Elnasser</dc:creator><description>&lt;p&gt;One easy solution posted out by Mr Karas on the 8052 form.&lt;br /&gt;
&lt;a href="http://www.8052.com/forum/read.phtml?id=58423" target="_blank"&gt;http://www.8052.com/forum/read.phtml?id=58423&lt;/a&gt;&lt;br /&gt;
Thanx&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using lookup tables generated by excel</title><link>https://community.arm.com/thread/41252?ContentTypeID=1</link><pubDate>Wed, 12 Nov 2003 12:00:50 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:83a455d7-18b7-4f71-bed9-123f4104a6f6</guid><dc:creator>Drew Davis</dc:creator><description>&lt;p&gt;:1,$s/^V^M/,/g&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Actually, I said that just for the line noise factor.  I don&amp;#39;t even use vi.&lt;br /&gt;
&lt;br /&gt;
Check your editor documentation.  It&amp;#39;s bound to have a global search-and-replace function.  And if it&amp;#39;s at all a decent editor, it has a way to let you specify non-printable characters like the CR (or CR LF).  If your editor doesn&amp;#39;t have such a feature, get another editor!&lt;br /&gt;
&lt;br /&gt;
You could also run the file through a tool like awk (or sed or perl) to reformat it before pasting it into your C source.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>