Okay, thanks.  I think I get it now.
 
----- Original Message -----
From: Florian Zschocke
Sent: Saturday, December 15, 2001 8:11 AM
To: [EMAIL PROTECTED]
Subject: Re: [hlcoders] Binary (wtf?) (Updated)
 

> cool, raw code.  But did you just make the values up or are they accurate?

No, they should be accurate. Capitals start at 65 and go up to 90
as you can see in the ascii table.

A == 01000001

As you can see here A is 64+1 = 1*(2^6) + 1*(2^0) = 65. The
following letters are ascending:

B == 01000010
C == 01000011

So while this was quick vaporcode I believe the number should be
correct. Lets check

a == 01100001

a = A + 32 = 65 + 32 = 97 = a

97 = 65 + 32
   = 1*(2^6) + 1*(2^0) + 1*(2^5)
   = 01000001 + 00100000
   = 01100001

Yup, looks good to me. :)

Florian.
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com

Reply via email to