This is a Javascript program. If you don't have Javascript enabled, or if your browser doesn't support Javascript, you won't see anything but this message. If you have a really old browser, you'll see a bunch of junk.
This is a Bit Twiddler that can help you understand binary, hex and octal numbers. Click the bits at the top of the page on or off to see the values. Or type a value into the boxes. See also Java Bits II
There is apparently a bug with some browsers where the Hex box will display ":" where it should be showing "a". I corrected for that here, but other browsers may have other bugs. Javascript bugs in older browsers can be very annoying.
There are interesting patterns to binary numbers. For example, try setting every other bit "on". Or try typing "EEEE" or "9999" into the Hex box.
Javascript is not Java. Javascript is a scripting language developed by Netscape, and really has nothing to do with Java. Javascript isn't cgi-bin programming, either. The script is actually in the HTML page. You can't see it if you "View Source"; all you'd see is the HTML tags and text that the Javascript program produced. If you download the page, you can see what is really going on.
Download the Javascript Bit Twiddler (shift click to force download on most browsers).
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
/javabits.html copyright Tony Lawrence All Rights Reserved
| Views for this page | ||||
|---|---|---|---|---|
| Today | This Week | This Month | This Year | Overall |
| 2 | 19 | 41 | 876 | 18,040 |
Add your comments