Hi Andreas,
Actually, I didn't mean to slight the built in "help" and
"source" commands, and the value they add to Rebol. They are
features of Rebol that I like very much, and I use them all the
time in my own programs.
But I still have to say that I often find myself typing in
something like "help some-rebol-word", and getting
"undocumented" as a response. And I seem to remember seeing the
same response to a "source" command that I recently typed in,
but I can't seem to find that one again.
Best regards,
Bernie Schneider
The individual has always had to struggle to keep from being
overwhelmed
by the tribe. To be your own man is a hard business. If you try
it, you will
be lonely often and sometimes frightened. But no price is too
high to pay
for the privilege of owning yourself.
-- Friedrich Nietzsche --
----- Original Message -----
From: "Andreas Bolka" <[EMAIL PROTECTED]>
To: "Bernie Schneider" <[EMAIL PROTECTED]>
Sent: Tuesday, July 12, 2005 5:38 PM
Subject: [REBOL] Re: REBOL Tutorials
>
>
> Tuesday, July 12, 2005, 11:20:13 PM, Bernie wrote:
>
> > Perhaps Rebol needs it's own built-in documentation
standard.
> > MakeDoc is a very good tool for that purpose, but I don't
see it
> > being used very much. An embedded documentation feature, a
bit like
> > Perl's POD (Plain Old Documentation) or Java's JavaDoc, both
of
> > which are embedded within a source program's comments, might
be a
> > nice thing to add to Rebol.
>
> REBOL has a built-in documentation facility - I'll leave it up
to you
> to decide upon it's comparability to JavaDoc or POD (IMHO
REBOL's
> 'help and 'source as well as the philosophy behind them are
extremely
> nice).
>
> If we have a look at the function 'forskip, we see
documentation
> strings everywhere:
>
> >> source forskip
> forskip: func [
> "Evaluates a block for periodic values in a series."
> [throw]
> 'word [word!] {Word set to each position in series and
changed as a result}
> skip-num [integer!] "Number of values to skip each time"
> body [block!] "Block to evaluate each time"
> ][
> while [not tail? get word] [
> do body
> set word skip get word skip-num
> ]
> ]
>
> this is used by REBOL's 'help function do output nice usage
> descriptions:
>
> >> help forskip
> USAGE:
> FORSKIP 'word skip-num body
>
> DESCRIPTION:
> Evaluates a block for periodic values in a series.
> FORSKIP is a function value.
>
> ARGUMENTS:
> word -- Word set to each position in series and changed
as a result (Type: word)
> skip-num -- Number of values to skip each time (Type:
integer)
> body -- Block to evaluate each time (Type: block)
>
>
> the details of this builtin documentation facility are
explained in
> the REBOL/Core manual.
>
> --
> Best regards,
> Andreas
>
>
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.323 / Virus Database: 267.8.13/47 - Release Date:
7/12/2005
>
>
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.13/47 - Release Date: 7/12/2005
--
To unsubscribe from the list, just send an email to
lists at rebol.com with unsubscribe as the subject.