<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>String Function Blog &#187; Hexadecimal</title>
	<atom:link href="http://www.stringfunction.com/blog/category/hexadecimal/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stringfunction.com/blog</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 11 Oct 2010 13:25:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>What is Hexadecimal?</title>
		<link>http://www.stringfunction.com/blog/hexadecimal/</link>
		<comments>http://www.stringfunction.com/blog/hexadecimal/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 10:43:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hexadecimal]]></category>
		<category><![CDATA[Hex]]></category>
		<category><![CDATA[Hex to String]]></category>
		<category><![CDATA[String]]></category>
		<category><![CDATA[String Function]]></category>
		<category><![CDATA[String to Hex]]></category>

		<guid isPermaLink="false">http://www.stringfunction.com/blog/?p=17</guid>
		<description><![CDATA[
Hexadecimal – or called “hex” by coders for convenience – is a programming convention used to enable raw binary or octal values to be represented in  a more readable form. Hex comprises 16 bits – one “word” – or two bytes in octal. In the 70s, the first programmable computers commercially available used toggle [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="" src="http://www.stringfunction.com/img/hexadecimal-string-function.jpg" title="Hexadecimal String Function" class="alignright" width="250" height="166" /><br />
<strong>Hexadecimal</strong> – or called “hex” by coders for convenience – is a programming convention used to enable raw binary or octal values to be represented in <span id="more-17"></span> a more readable form. <strong>Hex</strong> comprises 16 bits – one “word” – or two bytes in octal. In the 70s, the first programmable computers commercially available used toggle switches on the front panel to accomplish routine tasks, such as loading a bootstrap or a driver. The DEC PDP-11 series of computers is one example. It was far easier to use three fingers and load: 012700; 177406; 012710; etc, to boot from an RK-02 disk than use strictly 0s and 1s, with far less likelihood of a mistake.</p>
<div>
<script type="text/javascript"><!--
google_ad_client = "pub-5778837526588624";
/* sf.com - 300x250, created 5/2/10 - Inside Blog Post */
google_ad_slot = "5307581453";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<h3>Hexadecimal Evolution</h3>
<p><strong>Hexadecimal</strong> is the logical evolution from octal. Those same numbers shown in octal above would be 15C0 for 012700; FF06 for 177406; and 15C8 for 012710. This was far more convenient to enter from a keypad similar to a telephone keypad than either binary or octal. Today, octal is used in code to build masks, but rarely much else. Some remnants of octal still remain, such as the subnet masks for IP addresses, or red, blue, green (RGB) values for colors.</p>
<h3>Hex Conversion Computer Language Functions</h3>
<p>Converting from <a href="http://www.stringfunction.com/hex-string.html">hexadecimal to string</a> values or <a href="http://www.stringfunction.com/string-hex.html">string to hexadecimal</a> is simple. Virtually all <strong>programming languages</strong> have built-in string function manipulation and conversions. Even high-level <strong>web programming languages</strong> use hex, especially for representing colors or symbol characters.</p>
<div>
<script type="text/javascript"><!--
google_ad_client = "pub-5778837526588624";
/* sf.com - 300x250, created 5/2/10 - Inside Blog Post */
google_ad_slot = "5307581453";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<h3>Hex and String Conversion</h3>
<p>By its strictest definition, a <strong>string</strong> is alphanumeric and not interpreted as a numerical representation. To perform arithmetic or logical operations using an alphanumeric requires the programmer to <a href="http://www.stringfunction.com/string-hex.html">convert a string to hex</a>. For example: If a city has dead people living in it, what is the population? As a string, there are no living people in the city. However, if the string “dead” is <strong>converted to hex</strong>, then there is a living population of 57005 people. Similarly, if the population is 57005 and the decimal number is first <strong>converted to hex</strong>, then the <strong>convert a string to hex</strong> function is used, the city has a dead population.</p>
<h3>Hex Values as Alphanumeric Strings</h3>
<p><strong>Hexadecimal values</strong> take the form of the numbers 0 to 9 and the letters A through F – a total of 16 characters. When coders “speak” hex, many use phonetics to prevent confusion. As a <strong>hexadecimal example</strong>, the value “4D2” would be read “four delta two”. Otherwise it might sound too much like “42”.</p>
<h3>Hex Conversion Offline and Online Tools and Tutorials</h3>
<p>One of the included tools with Microsoft applications is a scientific calculator. It is usually set to the default of a standard calculator, however it can be easily changed by altering the “View” setting. Using the radio buttons and the keypad, it is a simple matter to convert decimal numbers to octal or hex or vice versa. Example with our <a href="http://www.stringfunction.com/hex-decimal.html">hex to decimal converter</a></p>
<p>Additionally, there are a number of tools readily available online for the coder, from <a href="http://www.stringfunction.com/">free string function online tools</a> which enable the coder to <a href="http://www.stringfunction.com/">execute string functions online</a> to a wealth of knowledge contained in a wide variety of <strong>string tutorials</strong>, <strong>string function tutorials</strong>, and <strong>string to hex tutorials</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stringfunction.com/blog/hexadecimal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

