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

[REBOL] Re: Capturing output from 'help

From: being_doug:ya:hoo at: 30-Jul-2001 18:34

Hello! Here's one way. Echo to a temp file, then read the file back into a string. ;--start script--- REBOL [ Title: "Capture help" Date: 30-July-2001 Author: "doug edmunds" Purpose: "capture help output as a string." File: %capture_help.r ] temp_file: %temphelp.txt echo temp_file help next ; change 'next' to any help topic ; or part of word (i.e., help br) echo none help_string: read temp_file delete temp_file print "^/now printing help_string:" print help_string print "press any key" input ;--end script---- --doug edmunds --- Tim Johnson <[tim--johnsons-web--com]> wrote: