[ale] Introduction
Jason Day
jasonday at worldnet.att.net
Wed Dec 1 23:34:04 EST 2004
On Wed, Dec 01, 2004 at 04:01:25PM -0500, Geoffrey wrote:
> >That wasn't me, I think it was Jason Vinson.
>
> Oops, sorry.
No problem :)
> >int diff = '5' - '2';
> >
> >And diff becomes 3.
>
> That works in java?
Yep. The char data type has some interesting possibilities, because
it's the only unsigned data type in java. So if you ever need to use a
16 bit unsigned short in java, char is your friend.
Jason
--
Jason Day jasonday at
http://jasonday.home.att.net worldnet dot att dot net
"Of course I'm paranoid, everyone is trying to kill me."
-- Weyoun-6, Star Trek: Deep Space 9
More information about the Ale
mailing list