Re: [CODE] Help

From: Chuck Reed (creed@I-55.COM)
Date: 12/06/97


Umm, you are really confusing me.  Daniel sent a letter saying that to have
an array of strings, I needed this:

char *abil_desc_parse[] = {
    "This is one string.",
    "This is another string.",
    "This is the last one."
  };

And this is what I already had:

char *abil_desc_parse = {
"blah blah blah blah blah \r\n
 blah blah blah blah blah\r\n",
"\0"
};

Now maybe it's just my newbie side coming out, but i can't see a thing
different in the syntax of these two (and don't say that he has three
strings to my 2 :P).  There are no
quotes on the end of line 1 and the begining of line 2 because that is a
single line.  Iwrote it that way to better give me an understanding of where
the text would be breaking.  It could be:

char *abil_desc_parse = {
"blah blah blah blah blah \r\nblah blah blah blah blah\r\n",
"\0"
};

but I think that just looks ugly.

Chuck


     +------------------------------------------------------------+
     | 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