Re: Data Types

From: The Arrow (arrow@pileborg.org)
Date: 12/15/01


On Sat, 15 Dec 2001, Ramsey Stone wrote:

> Hi All,
>
>     Im having a little problem with zones and data types. Recently,
> I added 500 zones to the mud, since we ran out. I realized I had
> to change all the vnum data types to longs. Just a small problem,
> now, about 1/4 of the code needs to be changed, since its calling
> a long integer with %d. Does anyone know a simple way to do this?
>
> Id appreciate any help!

What I did when I changed to longs, was just to do the replacement by hand:
  Compile, get a lot of warnings, fix some of them, recompile...

It takes some time, but it's not that hard really.

/ Joachim
=======================================================================
The Arrow                                   http://pileborg.org/~arrow/
Joachim Pileborg                          mailto:arrow@pileborg.org
=======================================================================
"Everyone wants to go to heaven, but no one wants to die" - Two Witches

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/24/03 PDT