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

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