Re: [OLC] OasisOLC v1.6b for bpl14

From: George (greerga@CIRCLEMUD.ORG)
Date: 08/17/98


On Mon, 17 Aug 1998, Warren Robbins wrote:

>Question:  Why does sprintbit() use a const char *whatever[] as of bpl14?
>If my memory serves me, it wasn't constant before.  Does this create a
>problem?  I question this because, I could in theory make a clan code
>which creates a character array that would not be a constant, and in
>theory use sprintbit.  Why the `const'?

Because sprintbit() doesn't change the array, thus it can accept a const.

--
George Greer, greerga@circlemud.org | Genius may have its limitations, but
http://mouse.van.ml.org/ (not done) | 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