Well, first off, you have to understand what your do_help function is
doing.  It is performing a recursive search, and returning all the
values it finds, in order to best help those who cannot spell.  In other
words, "help a" will return all help entries that begin with the letter
"a".

In order to remove it, fix it so that it does not flow through the loop
until it runs out of entries in the help files.  But, that way, it will
return just the first instance of a keyword.  If you happen to have
multiple entries with the same keyword, it will still only return the
first one it reaches.

Happy Hunting!
Greg

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dantin
Sent: Thursday, July 11, 2002 8:32 PM
To: Rom Mailing List
Subject: OLC Help

     Okay heres an interesting problem. In my help file I have 3
different
pages to aid with Lopes Colour 2.0. When I type help colour or color or
ansi
it repeats all 3 pages 3 times... Anyone have an idea on how to remedy
this?
Thanks before hand..

                                  Dantin



-- 
ROM mailing list
[email protected]
http://www.rom.org/cgi-bin/mailman/listinfo/rom


  • OLC Help Dantin
    • RE: OLC Help Greg Petty

Reply via email to