Re: Newbie? Replacement

From: Patrick Dughi (dughi@IMAXX.NET)
Date: 08/18/98


> Is there not a command to replace and remove strings? Sorry bout the dumb
> questions but I'm kinda lost trying to figure it out. Thanx...
>
        What do you mean replace and remove strings?

        If you're going to do it, you should maybe pick up a book in c.
It depends if you're using a static array of chars, or a dynamically
allocated block of memory. Depends on if you're just going to output the
string, or if you're saving it on a character. Depnds on alot, none of
which are simple or easy the first time around.

                It might help if you were more specific about what exactly
you wanted to do - like "I want to make it so the sword says 'This sword
property of Joe, please return if found', without changing all the other
swords of the same vnum" or, "I want to have someone say hello, name,
where name is different for each person, so i have to remove and replace
each time..".

                                                                PjD


     +------------------------------------------------------------+
     | 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/15/00 PST