[REBOL] Re: Newbie expression question
From: SunandaDH:aol at: 11-Oct-2003 13:58
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. Maybe this is a good starting point for another of Gregg's
idiom discussions),
Sunanda