Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Newbie expression question

From: kpeters::mvinc::net at: 11-Oct-2003 10:42

Thanks for your help again, guys! Another question: 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? Thanks, Kai log: function [ tlist msg ] [ lines ] [ lines: length? tlist/data if lines > 1000 [ clear tlist/data append tlist/data "*** Log cleared ***" ] append tlist/data msg show tlist ]