Re: Helpfile loading & spiffy hack ,-)

From: Daniel Koepke (dkoepke@CALIFORNIA.COM)
Date: 11/01/97


On Sun, 2 Nov 1997, Rasmus Ronlev wrote:

->So, if the helpfile has more than two keywords per help entry in average,
->there will be a boom-boom crash :p

How about seperating the help-file from the keyword list.  That way,
you create a keyword list that is alphabetized and provides an index
to the help-file array.  In other words, there will only be one
entry in the help-file array for all the keywords; and the keyword
array can be used to look-up things in.

Something like:

  struct help_keyword_array {
    char *keyword;
    int index;
  };

with 'index' being the index to the help table.

Advantages/disadvantages?  Thoughts?


daniel koepke / dkoepke@california.com


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST