Re: More arguments?

From: Peter Ajamian (peter@pajamian.dhs.org)
Date: 01/08/01


"Shane P. Lee" wrote:
>
> I want to make a command that accepts four different arguments,
> but since I have been unable to find another command that does
> this, I'm left in the dark...
>
> <command> <arg1> <arg2> <arg3> <arg4>

char arg1[MAX_IMPUT_LENGTH], arg2[MAX_INPUT_LENGTH];
char arg3[MAX_INPUT_LENGTH], arg4[MAX_INPUT_LENGTH];

two_arguments(two_arguments(argument, arg1, arg2), arg3, arg4);

That should do it.

Regards, Peter

--
   +---------------------------------------------------------------+
   | 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/03/01 PST