[REBOL] Re: True?
From: allen:aussieweb:au at: 10-May-2001 15:17
----- Original Message -----
From: "Terry Brownell" <[depotcity--telus--net]>
To: "Rebol List" <[rebol-list--rebol--com]>
Sent: Thursday, May 10, 2001 2:53 PM
Subject: [REBOL] True?
> How can I make e either true or false. If ALL values of d are true, then e
is true as well, otherwise false.
Hi Terry,
I think the answer was in your question.
a: true
b: true
c: true
d: [a b c]
e: all d
== true
a: true
b: false
c: true
d: [a b c]
e: all d
== none
; or if you want a true/false answer instead of true/none
a: true
b: true
c: true
d: [a b c]
e: found? all d
== true
a: true
b: false
c: true
d: [a b c]
e: found? all d
== false
Cheers,
Allen K