Hi Charles,

Charles wrote:
> Here's a little question. Perhaps I've been spoiled in other
languages, but
> this is starting to frustrate me. I have something like: if THIS and
> THAT [] Thing is, if THIS is false, it continues to evaluate THAT
> anyways.
 >
> if (2 = length? p: parse filename ".") AND (not none? find pick p 2 "htm") [ 

What you are searching for is 'all, used like this:

if all [
    (2 = length? p: parse filename ".")
    (not none? find pick p 2 "htm")
] [
    'whatever-you-like-to-do-now
]

'all and its companion 'any use short-circuit evalution.


Kind regards,

Ingo

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to