Re: [CODE] Better argument processing

From: Sammy (samedi@DHC.NET)
Date: 09/19/97


On Fri, 19 Sep 1997, Ric Klaren wrote:

> How about the following??? Little func I use for all argument processing.
> It supllies an argc, argv lookalike thing... I prefer it a lot over the
> old argument handling funcs.
>
> typedef struct args ARGS;
>
> struct args
[snip]

Ah very good idea :)  I think I'll probably stick with my two_args and
three_args functions where I know I'll only need 2 or 3 to make the
changes easier, but for anything with more than 3 arguments that will
really simplify things.

Sam


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