1298 lines
51 KiB
HTML
1298 lines
51 KiB
HTML
<?xml version="1.0" encoding="utf-8"?>
|
||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||
<html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" MadCap:lastBlockDepth="6" MadCap:lastHeight="94" MadCap:lastWidth="853" MadCap:disableMasterStylesheet="true" MadCap:tocPath="PBASIC Language Reference" MadCap:InPreviewMode="false" MadCap:PreloadImages="false" MadCap:RuntimeFileType="Topic" MadCap:TargetType="WebHelp" lang="en-us" xml:lang="en-us" MadCap:PathToHelpSystem="../../../" MadCap:HelpSystemFileName="Default.xml" MadCap:SearchType="Stem">
|
||
<head><title>Conversion Formatters</title>
|
||
<link href="../../SkinSupport/MadCap.css" rel="stylesheet" />
|
||
<link href="../../Resources/Stylesheets/BSE_Help.css" rel="stylesheet" />
|
||
<script src="../../SkinSupport/MadCapAll.js" type="text/javascript">
|
||
</script>
|
||
</head>
|
||
<body>
|
||
<div class="MCBreadcrumbsBox_0"><span class="MCBreadcrumbsPrefix">You are here: </span><a class="MCBreadcrumbsLink" href="AlphaRef.htm">PBASIC Language Reference</a><span class="MCBreadcrumbsDivider"> > </span><span class="MCBreadcrumbs">Conversion Formatters</span>
|
||
</div>
|
||
<h1>Conversion Formatters</h1>
|
||
<p class="PlainText">The tables below contain the conversion formatters available for the commands <span class="keyword_in_text">DEBUGIN</span>, <span class="keyword_in_text">I2CIN</span>, <span class="keyword_in_text">LCDIN</span>, <span class="keyword_in_text">OWIN </span>and <span class="keyword_in_text">SERIN </span>and demonstrates, through various input/output data examples, exactly what will be received when using these formatters.</p>
|
||
<p class="PlainText">The following tables show data examples (characters received) across the top and formatters across the left side, with the results of that combination shown in the target cell.</p>
|
||
<p class="PlainText">For example, with the following code:</p><pre class="BScode" xml:space="preserve">Value  VAR  WORD
|
||
DEBUGIN SDEC Value</pre>
|
||
<p class="PlainText">...the Decimal Formatters table shows us that if the characters -123 (followed by a carriage return) are received, the SDEC formatter will translate that to the word-sized decimal number -123 and will store that value into the Value variable.</p>
|
||
<p class="PlainText">NOTE: In all tables below, values in target cells represent the number base of the formatter (decimal for DEC, hexadecimal for HEX, etc) except where noted.  Additionally, “--“ means no valid data (or not enough valid data) was received so the command will halt forever unless additional data is received or <span class="keyword_in_text">SERIN</span>’s <i>Timeout</i> argument is used.</p>
|
||
<h2>Decimal Formatters</h2>
|
||
<table width="100%" cellpadding="4" cellspacing="0" border="1">
|
||
<tr bgcolor="#CFCFCF">
|
||
<td width="20%" align="center" rowspan="2">Decimal
|
||
Formatters
|
||
</td>
|
||
<td width="10%" align="center" colspan="8">Characters Received
|
||
</td>
|
||
</tr>
|
||
<tr bgcolor="#CFCFCF">
|
||
<td width="10%" align="center">‡
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">123‡</td>
|
||
<td width="10%" align="center">-123‡</td>
|
||
<td width="10%" align="center">‡123‡</td>
|
||
<td width="10%" align="center">12345‡</td>
|
||
<td width="10%" align="center">65536‡</td>
|
||
<td width="10%" align="center">255255‡</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="10%" align="center">DEC
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">12345
|
||
</td>
|
||
<td width="10%" align="center">0
|
||
</td>
|
||
<td width="10%" align="center">58647
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">DEC1
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">6
|
||
</td>
|
||
<td width="10%" align="center">2
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">DEC2
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">12
|
||
</td>
|
||
<td width="10%" align="center">12
|
||
</td>
|
||
<td width="10%" align="center">12
|
||
</td>
|
||
<td width="10%" align="center">12
|
||
</td>
|
||
<td width="10%" align="center">12
|
||
</td>
|
||
<td width="10%" align="center">65
|
||
</td>
|
||
<td width="10%" align="center">25
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">DEC3
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">655
|
||
</td>
|
||
<td width="10%" align="center">255
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">DEC4
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">1234
|
||
</td>
|
||
<td width="10%" align="center">6553
|
||
</td>
|
||
<td width="10%" align="center">2552
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">DEC5
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">12345
|
||
</td>
|
||
<td width="10%" align="center">0
|
||
</td>
|
||
<td width="10%" align="center">25525
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">SDEC
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">-123
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">12345
|
||
</td>
|
||
<td width="10%" align="center">0
|
||
</td>
|
||
<td width="10%" align="center">-6889
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">SDEC1
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">-1
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">6
|
||
</td>
|
||
<td width="10%" align="center">2
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">SDEC2
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">12
|
||
</td>
|
||
<td width="10%" align="center">12
|
||
</td>
|
||
<td width="10%" align="center">-12
|
||
</td>
|
||
<td width="10%" align="center">12
|
||
</td>
|
||
<td width="10%" align="center">12
|
||
</td>
|
||
<td width="10%" align="center">65
|
||
</td>
|
||
<td width="10%" align="center">25
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">SDEC3
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">-123
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">655
|
||
</td>
|
||
<td width="10%" align="center">255
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">SDEC4
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">-123
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">1234
|
||
</td>
|
||
<td width="10%" align="center">6553
|
||
</td>
|
||
<td width="10%" align="center">2552
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">SDEC5
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">-123
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">12345
|
||
</td>
|
||
<td width="10%" align="center">0
|
||
</td>
|
||
<td width="10%" align="center">25525
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<p class="PlainText">‡Means any non-decimal-numeric characters such as letters, spaces, minus signs, carriage returns, control characters, etc.  (Decimal numerics are: 0,1,2,3,4,5,6,7,8 and 9)</p>
|
||
<h2>Hexadecimal Formatters</h2>
|
||
<table width="100%" cellpadding="4" cellspacing="0" border="1">
|
||
<tr bgcolor="#CFCFCF">
|
||
<td width="20%" align="center" rowspan="2">Hexadecimal Formatters
|
||
</td>
|
||
<td width="10%" align="center" colspan="8">Characters Received
|
||
</td>
|
||
</tr>
|
||
<tr bgcolor="#CFCFCF">
|
||
<td width="10%" align="center">‡
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">1F‡</td>
|
||
<td width="10%" align="center">-1F‡</td>
|
||
<td width="10%" align="center">‡1F‡</td>
|
||
<td width="10%" align="center">15AF‡</td>
|
||
<td width="10%" align="center">10000‡</td>
|
||
<td width="10%" align="center">3E517‡</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="10%" align="center">HEX
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">15AF
|
||
</td>
|
||
<td width="10%" align="center">0
|
||
</td>
|
||
<td width="10%" align="center">E517
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">HEX1
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">3
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">HEX2
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">15
|
||
</td>
|
||
<td width="10%" align="center">10
|
||
</td>
|
||
<td width="10%" align="center">3E
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">HEX3
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">15A
|
||
</td>
|
||
<td width="10%" align="center">100
|
||
</td>
|
||
<td width="10%" align="center">3E5
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">HEX4
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">15AF
|
||
</td>
|
||
<td width="10%" align="center">1000
|
||
</td>
|
||
<td width="10%" align="center">3E51
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">SHEX
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">-1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">15AF
|
||
</td>
|
||
<td width="10%" align="center">0
|
||
</td>
|
||
<td width="10%" align="center">-1AE9
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">SHEX1
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">-1
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">3
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">SHEX2
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">-1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">15
|
||
</td>
|
||
<td width="10%" align="center">10
|
||
</td>
|
||
<td width="10%" align="center">3E
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">SHEX3
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">-1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">15A
|
||
</td>
|
||
<td width="10%" align="center">100
|
||
</td>
|
||
<td width="10%" align="center">3E5
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">SHEX4
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">-1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">15AF
|
||
</td>
|
||
<td width="10%" align="center">1000
|
||
</td>
|
||
<td width="10%" align="center">3E51
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<p class="PlainText">Note: The HEX formatters are not case sensitive. For example, 1F is the same as 1f.<br />‡Means any non-hexadecimal-numeric characters such as letters (greater than F), spaces, minus signs, carriage returns, control characters, etc.  (Hexadecimal numerics are: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F).</p>
|
||
<h2>Additional Hexadecimal Formatters</h2>
|
||
<table width="100%" cellpadding="4" cellspacing="0" border="1">
|
||
<tr bgcolor="#CFCFCF">
|
||
<td width="20%" align="center" rowspan="2">Additional Hexadecimal Formatters
|
||
</td>
|
||
<td width="10%" align="center" colspan="8">Characters Received
|
||
</td>
|
||
</tr>
|
||
<tr bgcolor="#CFCFCF">
|
||
<td width="10%" align="center">‡
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">1F‡</td>
|
||
<td width="10%" align="center">$1F
|
||
</td>
|
||
<td width="10%" align="center">$1F‡</td>
|
||
<td width="10%" align="center">-$1F‡</td>
|
||
<td width="10%" align="center">‡$1F‡</td>
|
||
<td width="10%" align="center">$15AF‡</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="10%" align="center">IHEX
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">15AF
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">IHEX1
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">IHEX2
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">15
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">IHEX3
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">15A
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">IHEX4
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">15AF
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">ISHEX
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">-1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">15AF
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">ISHEX1
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">-1
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">ISHEX2
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">-1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">15
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">ISHEX3
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">-1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">15A
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">ISHEX4
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">-1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">15AF
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<p class="PlainText">NOTE: The HEX formatters are not case sensitive.  For example, 1F is the same as 1f.<br />‡Means any non-hexadecimal-numeric characters such as letters (greater than F), spaces, minus signs, carriage returns, control characters, etc.  (Hexadecimal numerics are: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F).</p>
|
||
<h2>Binary Formatters</h2>
|
||
<table width="100%" cellpadding="4" cellspacing="0" border="1">
|
||
<tr bgcolor="#CFCFCF">
|
||
<td width="16%" align="center" rowspan="2">Binary
|
||
Formatters
|
||
</td>
|
||
<td width="12%" align="center" colspan="7">Characters Received
|
||
</td>
|
||
</tr>
|
||
<tr bgcolor="#CFCFCF">
|
||
<td width="16%" align="center">‡
|
||
</td>
|
||
<td width="12%" align="center">11
|
||
</td>
|
||
<td width="12%" align="center">11‡</td>
|
||
<td width="12%" align="center">-11‡</td>
|
||
<td width="12%" align="center">‡11‡</td>
|
||
<td width="12%" align="center">101‡</td>
|
||
<td width="12%" align="center">3E517‡</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="12%" align="center">BIN
|
||
</td>
|
||
<td width="12%" align="center">--
|
||
</td>
|
||
<td width="12%" align="center">--
|
||
</td>
|
||
<td width="12%" align="center">11
|
||
</td>
|
||
<td width="12%" align="center">11
|
||
</td>
|
||
<td width="12%" align="center">11
|
||
</td>
|
||
<td width="12%" align="center">101
|
||
</td>
|
||
<td width="12%" align="center">1
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="16%" align="center">BIN1
|
||
</td>
|
||
<td width="12%" align="center">--
|
||
</td>
|
||
<td width="12%" align="center">1
|
||
</td>
|
||
<td width="12%" align="center">1
|
||
</td>
|
||
<td width="12%" align="center">1
|
||
</td>
|
||
<td width="12%" align="center">1
|
||
</td>
|
||
<td width="12%" align="center">1
|
||
</td>
|
||
<td width="12%" align="center">1
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="16%" align="center">BIN2
|
||
</td>
|
||
<td width="12%" align="center">--
|
||
</td>
|
||
<td width="12%" align="center">11
|
||
</td>
|
||
<td width="12%" align="center">11
|
||
</td>
|
||
<td width="12%" align="center">11
|
||
</td>
|
||
<td width="12%" align="center">11
|
||
</td>
|
||
<td width="12%" align="center">10
|
||
</td>
|
||
<td width="12%" align="center">1
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="16%" align="center">BIN3 – BIN16
|
||
</td>
|
||
<td width="12%" align="center">--
|
||
</td>
|
||
<td width="12%" align="center">--
|
||
</td>
|
||
<td width="12%" align="center">11
|
||
</td>
|
||
<td width="12%" align="center">11
|
||
</td>
|
||
<td width="12%" align="center">11
|
||
</td>
|
||
<td width="12%" align="center">101
|
||
</td>
|
||
<td width="12%" align="center">1
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="16%" align="center">SBIN
|
||
</td>
|
||
<td width="12%" align="center">--
|
||
</td>
|
||
<td width="12%" align="center">--
|
||
</td>
|
||
<td width="12%" align="center">11
|
||
</td>
|
||
<td width="12%" align="center">-11
|
||
</td>
|
||
<td width="12%" align="center">11
|
||
</td>
|
||
<td width="12%" align="center">101
|
||
</td>
|
||
<td width="12%" align="center">1
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="16%" align="center">SBIN1
|
||
</td>
|
||
<td width="12%" align="center">--
|
||
</td>
|
||
<td width="12%" align="center">1
|
||
</td>
|
||
<td width="12%" align="center">1
|
||
</td>
|
||
<td width="12%" align="center">-1
|
||
</td>
|
||
<td width="12%" align="center">1
|
||
</td>
|
||
<td width="12%" align="center">1
|
||
</td>
|
||
<td width="12%" align="center">1
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="16%" align="center">SBIN2
|
||
</td>
|
||
<td width="12%" align="center">--
|
||
</td>
|
||
<td width="12%" align="center">11
|
||
</td>
|
||
<td width="12%" align="center">11
|
||
</td>
|
||
<td width="12%" align="center">-11
|
||
</td>
|
||
<td width="12%" align="center">11
|
||
</td>
|
||
<td width="12%" align="center">10
|
||
</td>
|
||
<td width="12%" align="center">1
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="12%" align="center">SBIN3 – SBIN16
|
||
</td>
|
||
<td width="12%" align="center">--
|
||
</td>
|
||
<td width="12%" align="center">--
|
||
</td>
|
||
<td width="12%" align="center">11
|
||
</td>
|
||
<td width="12%" align="center">-11
|
||
</td>
|
||
<td width="12%" align="center">11
|
||
</td>
|
||
<td width="12%" align="center">101
|
||
</td>
|
||
<td width="12%" align="center">1
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<p class="PlainText">‡Means any non-binary-numeric characters such as letters, spaces, minus signs, carriage returns, control characters, etc.  (Binary numerics are: 0 and 1).</p>
|
||
<h2>Additional Binary Formatters</h2>
|
||
<table width="100%" cellpadding="4" cellspacing="0" border="1">
|
||
<tr bgcolor="#CFCFCF">
|
||
<td width="20%" align="center" rowspan="2">Additional Binary Formatters
|
||
</td>
|
||
<td width="10%" align="center" colspan="8">Characters Received
|
||
</td>
|
||
</tr>
|
||
<tr bgcolor="#CFCFCF">
|
||
<td width="10%" align="center">‡
|
||
</td>
|
||
<td width="10%" align="center">11
|
||
</td>
|
||
<td width="10%" align="center">11‡</td>
|
||
<td width="10%" align="center">%11
|
||
</td>
|
||
<td width="10%" align="center">%11‡</td>
|
||
<td width="10%" align="center">-%11‡</td>
|
||
<td width="10%" align="center">‡%11‡</td>
|
||
<td width="10%" align="center">%101‡</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="10%" align="center">IBIN
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">11
|
||
</td>
|
||
<td width="10%" align="center">11
|
||
</td>
|
||
<td width="10%" align="center">11
|
||
</td>
|
||
<td width="10%" align="center">101
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">IBIN1
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">IBIN2
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">11
|
||
</td>
|
||
<td width="10%" align="center">11
|
||
</td>
|
||
<td width="10%" align="center">11
|
||
</td>
|
||
<td width="10%" align="center">11
|
||
</td>
|
||
<td width="10%" align="center">10
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">IBIN3 – IBIN16
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">11
|
||
</td>
|
||
<td width="10%" align="center">11
|
||
</td>
|
||
<td width="10%" align="center">11
|
||
</td>
|
||
<td width="10%" align="center">101
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">ISBIN
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">11
|
||
</td>
|
||
<td width="10%" align="center">-11
|
||
</td>
|
||
<td width="10%" align="center">11
|
||
</td>
|
||
<td width="10%" align="center">101
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">ISBIN1
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">-1
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
<td width="10%" align="center">1
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="10%" align="center">ISBIN2
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">11
|
||
</td>
|
||
<td width="10%" align="center">11
|
||
</td>
|
||
<td width="10%" align="center">-11
|
||
</td>
|
||
<td width="10%" align="center">11
|
||
</td>
|
||
<td width="10%" align="center">10
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">ISBIN3 – ISBIN16
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">11
|
||
</td>
|
||
<td width="10%" align="center">-11
|
||
</td>
|
||
<td width="10%" align="center">11
|
||
</td>
|
||
<td width="10%" align="center">101
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<p class="PlainText">‡Means any non-binary-numeric characters such as letters, spaces, minus signs, carriage returns, control characters, etc.  (Binary numerics are: 0 and 1).</p>
|
||
<h2>NUM and SNUM with Decimal Data</h2>
|
||
<table width="100%" cellpadding="4" cellspacing="0" border="1">
|
||
<tr bgcolor="#CFCFCF">
|
||
<td width="20%" align="center" rowspan="2">General (Dec. Data)
|
||
</td>
|
||
<td width="10%" align="center" colspan="8">Characters Received
|
||
</td>
|
||
</tr>
|
||
<tr bgcolor="#CFCFCF">
|
||
<td width="10%" align="center">‡
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">123‡</td>
|
||
<td width="10%" align="center">-123‡</td>
|
||
<td width="10%" align="center">‡123‡</td>
|
||
<td width="10%" align="center">12345‡</td>
|
||
<td width="10%" align="center">65536‡</td>
|
||
<td width="10%" align="center">255255‡</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="10%" align="center">NUM
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">12345
|
||
</td>
|
||
<td width="10%" align="center">0
|
||
</td>
|
||
<td width="10%" align="center">58647
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">SNUM
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">-123
|
||
</td>
|
||
<td width="10%" align="center">123
|
||
</td>
|
||
<td width="10%" align="center">12345
|
||
</td>
|
||
<td width="10%" align="center">0
|
||
</td>
|
||
<td width="10%" align="center">-6889
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<p class="PlainText">‡Means any non-decimal-numeric characters such as letters, spaces, minus signs, carriage returns, control characters, etc.  (Decimal numerics are: 0,1,2,3,4,5,6,7,8 and 9).</p>
|
||
<h2>NUM and SNUM with Hexadecimal Data</h2>
|
||
<table width="100%" cellpadding="4" cellspacing="0" border="1">
|
||
<tr bgcolor="#CFCFCF">
|
||
<td width="20%" align="center" rowspan="2">General (Hex. Data)
|
||
</td>
|
||
<td width="10%" align="center" colspan="8">Characters Received
|
||
</td>
|
||
</tr>
|
||
<tr bgcolor="#CFCFCF">
|
||
<td width="10%" align="center">‡
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">1F‡</td>
|
||
<td width="10%" align="center">$1F
|
||
</td>
|
||
<td width="10%" align="center">$1F‡</td>
|
||
<td width="10%" align="center">-$1F‡</td>
|
||
<td width="10%" align="center">‡$1F‡</td>
|
||
<td width="10%" align="center">$15AF‡</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="10%" align="center">NUM
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">1*
|
||
</td>
|
||
<td width="10%" align="center">1*
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">15AF
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">SNUM
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">1*
|
||
</td>
|
||
<td width="10%" align="center">1*
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">-1F
|
||
</td>
|
||
<td width="10%" align="center">1F
|
||
</td>
|
||
<td width="10%" align="center">15AF
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<p class="PlainText">NOTE: Hexadecimal data is not case sensitive.  For example, 1F is the same as 1f.<br />‡Means any non-hexadecimal-numeric characters such as letters (greater than F), spaces, minus signs, carriage returns, control characters, etc.  (Hexadecimal numerics are: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F).<br />*Invalid data; treated as decimal number one because no $ preceded it and non-decimal digit followed it.</p>
|
||
<h2>NUM and SNUM with Binary Data</h2>
|
||
<table width="100%" cellpadding="4" cellspacing="0" border="1">
|
||
<tr bgcolor="#CFCFCF">
|
||
<td width="20%" align="center" rowspan="2">General
|
||
(Bin. Data)
|
||
</td>
|
||
<td width="10%" align="center" colspan="8">Characters Received
|
||
</td>
|
||
</tr>
|
||
<tr bgcolor="#CFCFCF">
|
||
<td width="10%" align="center">‡
|
||
</td>
|
||
<td width="10%" align="center">11
|
||
</td>
|
||
<td width="10%" align="center">11‡
|
||
</td>
|
||
<td width="10%" align="center">%11
|
||
</td>
|
||
<td width="10%" align="center">%11‡
|
||
</td>
|
||
<td width="10%" align="center">-%11‡</td>
|
||
<td width="10%" align="center">‡%11‡</td>
|
||
<td width="10%" align="center">%101‡</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">NUM
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">11*
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">11
|
||
</td>
|
||
<td width="10%" align="center">11
|
||
</td>
|
||
<td width="10%" align="center">11
|
||
</td>
|
||
<td width="10%" align="center">101
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td width="20%" align="center">SNUM
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">11*
|
||
</td>
|
||
<td width="10%" align="center">--
|
||
</td>
|
||
<td width="10%" align="center">11
|
||
</td>
|
||
<td width="10%" align="center">-11
|
||
</td>
|
||
<td width="10%" align="center">11
|
||
</td>
|
||
<td width="10%" align="center">101
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<p class="PlainText">‡Means any non-binary-numeric characters such as letters, spaces, minus signs, carriage returns, control characters, etc.  (Binary numerics are: 0 and 1).<br />*Invalid data; treated as decimal number eleven because no % preceded it.</p>
|
||
<div class="Col2">
|
||
<div class="MasterFoot">
|
||
<p MadCap:conditions="BSEconditions.BSEWebHelp (Primary)-INCLUDE"><a href="../../HomeTopics/HomePage.htm">Go to Welcome page</a>
|
||
</p>
|
||
</div>
|
||
</div>
|
||
<div class="Col2">
|
||
<div class="MasterFoot">
|
||
<p style="text-align: right;"><span class="ContactInfoProjectName">BASIC Stamp Help</span> <![CDATA[ ]]><span class="ContactInfoVersion#">Version 2.5.4</span> <![CDATA[ ]]></p>
|
||
<p style="text-align: right;">Copyright © <span class="ContactInfoCompanyName">Parallax Inc.</span></p>
|
||
<p style="text-align: right;"><span class="SystemShortDate">8/8/2012</span>
|
||
</p>
|
||
</div>
|
||
</div>
|
||
<script type="text/javascript">/* <![CDATA[ */
|
||
|
||
var _gaq = _gaq || [];
|
||
_gaq.push(['_setAccount', 'UA-285614-1']);
|
||
_gaq.push(['_trackPageview']);
|
||
|
||
(function() {
|
||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
||
})();
|
||
|
||
/* ]]> */</script>
|
||
<script type="text/javascript" src="../../SkinSupport/MadCapBodyEnd.js">
|
||
</script>
|
||
</body>
|
||
</html> |