Re: byte vs ubyte

From: George (greerga@CIRCLEMUD.ORG)
Date: 09/03/98


On Thu, 3 Sep 1998, Del Minturn wrote:

>What is the difference between the two?
>byte and ubyte that is..

ubyte is an unsigned char and byte is a char.  Note that byte doesn't
guarantee signed, you have to use sbyte for that.

>I am trying to add in some code and the pfile has spare ubytes.
>
>Can I use those for byte?
>(the book I have does not have ubyte in it)

Typically safe to change signed<->unsigned, if you haven't used that spot
yet.

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