Re: [NEWBIE][CODE] two_arguments

From: George (greerga@CIRCLEMUD.ORG)
Date: 05/25/98


On Mon, 25 May 1998, Mundi King wrote:

>  if (arg2 == NULL)
>
>  if (arg2 == '\0')

if (*arg2 == '\0')

>  c 'fireball' fido
>i would assume arg1 would contain fido
>what would arg2 be?

NUL if you use two_arguments. (Not NULL, NUL.)

--
George Greer, greerga@circlemud.org | Genius may have its limitations, but
http://patches.van.ml.org/          | stupidity is not thus handicapped.
http://www.van.ml.org/CircleMUD/    |                  -- 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/15/00 PST