[REBOL] Re: Formatting a display line
From: SunandaDH::aol::com at: 4-Nov-2003 17:37
Steve:
> This must be something really dumb, but I am wondering if perhaps I am
> not understanding how something works.
Looks to me you've simply need to change the parameter definition for
ADD-FILLER.
that line:
SPACE-COUNT integer!
should be
SPACE-COUNT [integer!]
Written with the [] it means the function takes one parameter, that must be
an integer.
Without the [] it looks like the interpreter is assuming ADD-FILLER takes
two parameters. That's eating up your lines of code in ways you didn't expect
-- hence that strange message if you uncomment a line.
Fix that, and I think all the problems go away.
Nice to see another (in my case ex) COBOLer having a go at REBOL,
Sunanda.