[REBOL] Re: Not-too-smart Table Parser (was: how to handle tables?)
From: joel:neely:fedex at: 24-Sep-2001 4:28
Somehow I managed to send a glitched version instead of the
corrected one... <sigh />
Sorry for the confusion and time-wasting.
The correction involves a single line in the HINT function,
inserted below at the appropriate point.
Joel Neely wrote:
> hint: function [
> scores [block!]
> avg: 0
> foreach score scores [avg: avg + score]
> avg: avg / length? line-scores
;; replace preceding line with correction below
avg: avg / length? scores
> foreach score scores [
> prin either score < avg ["-"]["+"]
> print ""
Again, sorry for the dumbness!
Please don't ask when version 2 will be released; we generally don't
know the answer to questions of that sort.
-- Richard Stallman