On 12-Oct-03, [EMAIL PROTECTED] wrote:

> Kai:

>> if length? tlist/data > 1000
>>  
>>  Can someone give me a pointer as to what i need to do?
>>  

> REBOL's strict no-precedence interpretation causes problems as the
> line is read as:

>    if length? (tlist/data > 1000)

> and that isn't valid.

> Try these:

>    if (length? tlist/data) > 1000
> or 
>    if 1000 <= length? tlist/data


> (I always go for the (...) solution as I can't be bothered with
> reversing boolean operations.

For speed reasons though, avoiding parens is a good thing if you can. 
(When we're not talking about developement speed, that is;)

> Maybe this is a good starting point
> for another of Gregg's idiom discussions),

> Sunanda

-- 
Carl Read

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to