Re: Curious question for act.comm.c

From: Artovil (artovil@arcanerealms.org)
Date: 09/01/01


At 10:42 2001-09-01 -0400, you wrote:
>Carlos Myers wrote:
> >
> > From: "Del" <caminturn@earthlink.net>
> > > in do_write, papername and penname is set to equal buf1 and buf2
> > > before the arguments are parsed. Is there any reason for this?
> > > or is it a lost effort somewhere?
> >
> > I would suspect that it is just "renaming" the buffers to make thing
> clearer
> > in the function.
> >
>
>'renaming'?
>
>In this function, where is buf1 and buf2 comming from? (are they not globals
>here?) Or am I missing somthing to understand what you're refering to?

buf1 and buf2 are coming from the prompt, the player types write paper pen,
where paper = buf1, and pen = buf2, and to clarify that inside the function
they are set papername = buf1, penname = buf2, and so forth.

Regards,
/Artovil

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/06/01 PST