Re: [NEWBIE] special proc

From: Joe Frohne (frohne@POST.ITS.MCW.EDU)
Date: 07/18/97


> On Thu, 17 Jul 1997, Joe Frohne wrote:
>
> >   static char one[256]="", two[256]="";
> >   static char answer[256]="Hi!  My name is Rangelaon Beanlinger.\r\n";
> >
> >   if (!CMD_IS("ask"))
> >     return 0;
> >
> >   half_chop(argument, one, two);
>
> It might be a problem here.... You're trying to change static char...
> Dunno If that's possible.... :)

Yes it split them as static.  The problem was I did not clear my variables
in the correct spot.  Once I made sure they were set to empty, it worked
the way I expected it to.

Thank you all for your input, it really helped alot....

Joe


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