Fruch wrote:
> It's an impotent remark, didn't see coming... the @ operator isn't referred
> any ware, I'm seen it in the code, but the code isn't documented at all. so
> I didn't got what is @ for. (and I've found out about <> and  form the code
> too, tried it first with !=, until I've found out that ! is for traversing)
>
> but still my last question was not answer (don't get me the wrong way, it's
> sounds a bit pushy :))
> summing with criteria is really why I've started this thread  (and learn
> some new things along the way:))
>   
Presumably you want something like this (borrowing from XPath)

    !assignTo[.status == 'Done'[EMAIL PROTECTED]

But that's not supported yet. Right now you can do something like this 
instead

    add(foreach(!assignTo, if(.status == 'Done', [EMAIL PROTECTED], 0)))

I haven't tested the .@ operator under that condition. Let me know if it 
doesn't work.

David

> I have load of other question, but I guess I'll put them in a separate
> thread.
>
> thanks David, for preventing me from falling into a pit.
>   

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to