[REBOL] Newbie expression question
From: kpeters::mvinc::net at: 11-Oct-2003 10:42
Thanks for your help again, guys!
In the function below I have used a crutch in the form of a local variable because I
haven't yet learned to "think" like Rebol's
expression evaluator - what I wanted to write, though it is obviously flawed, was:
if length? tlist/data > 1000
Can someone give me a pointer as to what i need to do?
log: function [ tlist msg ] [ lines ] [
lines: length? tlist/data
if lines > 1000 [ clear tlist/data append tlist/data "*** Log cleared ***" ]
append tlist/data msg