Having some more thoughts about 'help with objects. Rebol docstrings
are great, but suppose I use an object as an argument to 'help. The
results are not quite as "helpful".
What I have done for my major objects is include a "usage" method as a
member for each. For the larger objects, 'usage expects a block, which
if empty prints out "usage" for all, or prints usage for included words.
I'm sure that others have their own approaches.
In addition:
Having worked on some documentation approaches for rebol "IDEs" (i.e. :
emacs and vim) it also occurs to me that their should be a 'help that
returns a string that could be captured for use from an enlightened
editor.
So my question is:
"""
If rebol is going to offer modules, should we not give thought to
providing a standardized 'help module that could be used against any
other module?
"""
tim
--
Tim Johnson <[EMAIL PROTECTED]>
http://www.alaska-internet-solutions.com
--
To unsubscribe from the list, just send an email to
lists at rebol.com with unsubscribe as the subject.