- Subject: Re: any in jed undefined?
- From: "G. Milde" <g.milde@xxxxxx>
- Date: Fri, 26 May 2006 10:29:35 +0200
On 25.05.06, Jörg Sommer wrote:
> Hi,
>
> why is any() in jed undefined?
>
> % jed -batch -f 'any([0,1])'
> any is undefined
Until we have any() available in Jed, you can use wherefirst() as
workaround,
define any(a)
{
return wherefirst(a) != NULL;
}
jed -batch -f 'message(string(wherefirst([0,1,2])))'
jed -batch -f 'message(string(wherefirst([0,0,0])))'
Günter
--
Milde ife.et.tu-dresden.de
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2006 date index]
[2006 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]