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, | Genius may have its limitations, but (not done) | stupidity is not thus handicapped.    |                  -- Elbert Hubbard

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/15/00 PST