How to Convert Text into Binary

How to Convert Text into Binary

If you want to know how to convert text into a series of binary digits, here is a diagram:

 

Note that this sort of system applies to all radices as a way of converting to them, with the divisor "2" changed to the value of the radix.



You can use this binary conversion methodology in various scenarios when using the following Microsoft technologies:
  • Small Basic
  • Visual Basic
  • C++
  • C#

The following sample uses are created with Small Basic:

Credits

This was written (and the diagram created) by Liam McSherry in this Small Basic forum thread.
  
Leave a Comment
  • Please add 2 and 3 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Sort by: Published Date | Most Recent | Most Useful
Comments
  • Ed Price - MSFT edited Revision 4. Comment: Removed white space. Added tag.

Page 1 of 1 (1 items)
Wikis - Comment List
Sort by: Published Date | Most Recent | Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
  • Good one and easy explanation.

  • Ed Price - MSFT edited Revision 4. Comment: Removed white space. Added tag.

Page 1 of 1 (2 items)