<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Printing values of an array]]></title><description><![CDATA[<p>Hello,<br />
I want to print the values of an array which are other than 0 as a list with the pairs index/values separated by commas<br />
I already patched a first solution that gives me the whole list including the values equal to zero, another solution that only prints the pairs index/values but line by line<br />
Has someone got an idea ? I want to include this subpatch in a patch with 5 combinated arrays of nearly 400 indexes, so it will be simpler to print the only values other than 0<br />
Thanks dudes !</p>
<p><img src="/uploads/files/1775338936413-image.png" alt="image.png" class="img-responsive img-markdown" /></p>
<p><img src="/uploads/files/1775338936413-image.png" alt="image.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15843/printing-values-of-an-array</link><generator>RSS for Node</generator><lastBuildDate>Sun, 05 Apr 2026 17:54:46 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/15843.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 04 Apr 2026 21:44:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Printing values of an array on Sat, 04 Apr 2026 21:44:25 GMT]]></title><description><![CDATA[<p>Hello,<br />
I want to print the values of an array which are other than 0 as a list with the pairs index/values separated by commas<br />
I already patched a first solution that gives me the whole list including the values equal to zero, another solution that only prints the pairs index/values but line by line<br />
Has someone got an idea ? I want to include this subpatch in a patch with 5 combinated arrays of nearly 400 indexes, so it will be simpler to print the only values other than 0<br />
Thanks dudes !</p>
<p><img src="/uploads/files/1775338936413-image.png" alt="image.png" class="img-responsive img-markdown" /></p>
<p><img src="/uploads/files/1775338936413-image.png" alt="image.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15843/printing-values-of-an-array</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15843/printing-values-of-an-array</guid><dc:creator><![CDATA[Glop Glop]]></dc:creator><pubDate>Sat, 04 Apr 2026 21:44:25 GMT</pubDate></item><item><title><![CDATA[Reply to Printing values of an array on Sat, 04 Apr 2026 23:22:59 GMT]]></title><description><![CDATA[<p>like this?<br />
<a href="/uploads/files/1775344964165-printwithcomma.pd">printwithcomma.pd</a> <img src="/uploads/files/1775344964164-printwithcomma.gif" alt="printwithcomma.gif" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15843/printing-values-of-an-array/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15843/printing-values-of-an-array/2</guid><dc:creator><![CDATA[lacuna]]></dc:creator><pubDate>Sat, 04 Apr 2026 23:22:59 GMT</pubDate></item><item><title><![CDATA[Reply to Printing values of an array on Sun, 05 Apr 2026 16:17:13 GMT]]></title><description><![CDATA[<p>Not exactly : I need to print in this order : index value comma, on one only line</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15843/printing-values-of-an-array/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15843/printing-values-of-an-array/3</guid><dc:creator><![CDATA[Glop Glop]]></dc:creator><pubDate>Sun, 05 Apr 2026 16:17:13 GMT</pubDate></item></channel></rss>