[pmwiki-users] ZAP conditional syntax
The Editor
editor at fast.st
Thu Mar 8 04:25:56 CST 2007
On 3/8/07, SteP <step.list+pmwiki at gmail.com> wrote:
> The Editor wrote:
>
> > Also, I had hoped to allow multiple actions to occur when a condition
> > is passed, something like this:
> >
> > (:zap if="condition||field=value,field=value,field=value":)
> >
>
> parenthesized maybe?
> (:zap if="condition||(field=value)(field=value)(field=value)":)
Not sure how to easily explode this... But maybe...
> or some character sequence of sorts, can't explode handle that?
> (:zap if="condition||field=value. at .field=value. at .field=value":)
>
> And then maybe you could use something like .@@. to replace the double
> pipe?
>
> (:zap if="condition.@@.field=value. at .field=value. at .field=value":)
A possibility. We'll see if there are any other suggestions first...
Cheers,
Dan
More information about the pmwiki-users
mailing list