Re: [code] Three Arguments

From: Kenneth G. Cavness (kcavness@PROXICOM.COM)
Date: 10/07/97


On Tue, 7 Oct 1997, George wrote:

> char *three_arguments(char *argument, char *arg1, char *arg2, char *arg3)
> {
>   return one_argument(one_argument(one_argument(argument, arg1, arg2, arg3)));
> }

Wouldn't work, as one_argument takes all of two parameters.

char *three_arguments(char *argument, char *arg1, char *arg2, char *arg3)
{
   return one_argument(
                one_argument(
                   one_argument(argument, arg1), arg2
                ), arg3
           );
}

--
Kenneth G. Cavness                  |   http://www.zilker.net/~stargoat
ph#:+1-301-681-5594                 |   mailto:kcavness@proxicom.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