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:


This was written (and the diagram created) by Liam McSherry in this Small Basic forum thread.

Other Languages