[REBOL] Re: Multiple docstring lines
From: tim-johnsons::web::com at: 5-Jun-2007 11:59
On Tuesday 05 June 2007, Gregg Irwin wrote:
> Hi Tim,
>
> TJ> For years, I've been irritated by the way that emacs handles multiple
> line TJ> strings for syntax highlighting - IOWS, it just doesn't work that
> well.
>
> TJ> Soo.... this is what I tried: ...
> TJ> swaps: def["Swaps pairs in block. Block must be of even length."
> TJ> " Example: swaps[2 1 4 3 6 5] => [1 2 3 4 5
> 6]"[catch] TJ>...
>
> I'm leery of this, only because I think the func spec is designed for
> a single doc string, and the fact that it works may just be due to the
> current implementation.
You should be. So am I. That's why I made this change to one file alone,
and backed it up. And that file is not going to be used in an
implemented project.
*But* I have found no documentation on this subject. This should be clarified
by the developers. As a side note, I'm always interested in what rebol can do,
and one of the most intriguing statments I've come across regarding rebol is:
The interface spec is an example of a dialect
(sic), it would make for an
interesting discussion to examine the interface spec further.
thanks
tim