Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] how to call HELP on an object method ?

From: rebol::meurrens::org at: 23-May-2003 11:00

Hello all, I want to document properly my REBOL objects... But is it easely usable? Any idea on how to call HELP on an object method ??? f1: function [ "help on f1" ][][ print "I am f1" ] help f1 o: make object! [ m1: function [ "help on m1" ][][ print "I am m1" ] ] ;;;;; help o/m1 ;;; how to do this ???? o/m1 is a path .... I can of course do: o: make object! [ help-m1: does [ help m1 ] m1: function ["help on m1"][][ print "I am m1" ] ] o/help-m1 but this is not very neat... not very standard... and this forces to add an additional help method for each documented method.... Any idea ? I found nothing in the nice FAQ's maintened by some of you... Thanks... Regards, </marc> Prof. Ir Marc Meurrens, Brussels (be) TEL: +32 (0)2 537 2812 FAX: +32 (0)2 537 7645 EMAIL: [marc--meurrens--org] URL: http://www.meurrens.org/ REB: http://rebol.mksa.net/ PGPKEY: http://www.meurrens.org/pgp/ Please don't mail me attached files, instead, use my 'exchange area' : EXCHANGE AREA: http://www.meurrens.org/exchange/ (HTTP/FTP upload/download of temporary/persistent files)