[pmwiki-users] Conditional Extensions

Martin Fick fick at fgm.com
Thu Sep 15 16:53:38 CDT 2005


On Thu, Sep 15, 2005 at 11:44:08PM +0200, Dominique Faure wrote:
> >Also any thoughts on ways to nest conditions?
> >
> 
> You should have a try on the Cookbook/ConditionalExtensions recipe which 
> implements complex boolean expressions.
> 
> if A then
>  if B then
>    something
>  else
>    something else
>  endif
> endif
> is equivalent to:
> 
> if A and B then
>  something
> elseif A and not B then
>  something else
> endif
> 

Yes, I have looked at (and I am using) that recipe.  I did
not know that it could do that, what is the pmwiki syntax
for such an expression (there is no mention of such a
capability in the recipe)?


-Martin




More information about the pmwiki-users mailing list