Yes, I have seen your note on the test page.<div>I was testing this easy if-condition in pagelist, before trying more complex ones, and didn&#39;t understand what was wrong ; all is clear now.<br><div>Thank you.<br><br><div class="gmail_quote">
2009/10/31 Peter Bowers <span dir="ltr">&lt;<a href="mailto:pbowers@pobox.com">pbowers@pobox.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">
On Sat, Oct 31, 2009 at 1:16 AM, ABClf &lt;<a href="mailto:languefrancaise@gmail.com">languefrancaise@gmail.com</a>&gt; wrote:<br>
&gt; should : if equal VALUE1 VALUE2 give same results as : if equal VALUE2<br>
&gt; VALUE1 ?<br>
<br>
</div><div class="im">&gt; On PmWiki,<br>
&gt; (:pagelist group=Cookbook if=&quot;equal Stable {=$:Status}&quot;:) (a)<br>
&gt; (:pagelist group=Cookbook if=&quot;equal {=$:Status} Stable&quot;:) (b)<br>
<br>
</div>It&#39;s a spaces/quotes issue.  Apparently the &quot;equal&quot; condition ignores<br>
any subsequent arguments after the 2 that it is comparing for<br>
equality.  Thus:<br>
<br>
...if=&quot;equal abc abc&quot;<br>
...if=&quot;equal abc abc def ghi&quot;<br>
<br>
will both result in true.  &quot;abc&quot; is equal to &quot;abc&quot; and the &quot;def&quot; and<br>
&quot;ghi&quot; are ignored.  However,<br>
<br>
...if=&quot;equal abc &#39;abc def ghi&#39;&quot;<br>
<br>
(using single quotes to hold &#39;abc def ghi&#39; together as a single string<br>
for the second argument) will result in false.<br>
<br>
Note the additional example I placed on this page:<br>
<div><div></div><div class="h5"><br>
<a href="http://www.pmwiki.org/wiki/Test/PageListIf2" target="_blank">http://www.pmwiki.org/wiki/Test/PageListIf2</a><br>
<br>
</div></div><font color="#888888">-Peter<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>---------------------------------------<br>| A | de la langue française<br>| B | <a href="http://www.languefrancaise.net/">http://www.languefrancaise.net/</a><br>| C | <a href="mailto:languefrancaise@gmail.com">languefrancaise@gmail.com</a><br>
---------------------------------------<br>
</div></div>