Re: [code] Three Arguments

From: George (greerga@DRAGON.HAM.MUOHIO.EDU)
Date: 10/07/97


On Tue, 7 Oct 1997, Kenneth G. Cavness wrote:

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

Ok so I missed my parenthesis :P

return one_argument(one_argument(one_argument(argument, arg1), arg2), arg3);

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


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