APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

Javabits II


© December 1997 Tony Lawrence

Download the Javascript Bit Twiddler II (shift click to force download on most browsers).

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. Click the bits at the top of the page on or off to see the values. Or type a value into the boxes. You can apply bit operations to the two top values and see the results in the third set.

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.




Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

->
-> Advanced TCP/IP Javacsript Bit Calculator


Inexpensive and informative Apple related e-books:

Take Control of Preview

Take Control of IOS 11

Take Control of OS X Server

Take control of Apple TV, Second Edition

Take Control of Apple Mail, Third Edition




More Articles by © Tony Lawrence




Printer Friendly Version

Have you tried Searching this site?

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.

Contact us


Printer Friendly Version





It's hard to study much history and not dislike religion - (Tony Lawrence)




Linux posts

Troubleshooting posts


This post tagged:

Code

Javascript



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode





SCO Unix Sales, Support, & Service

Phone:  707-SCO-UNIX (707-726-8649Toll Free: 833-SCO-UNIX (833-726-8649)
www.SCOsales.com