<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">

<html>

<!--(==============================================================)-->
<!--(Document created with RoboEditor. )============================-->
<!--(==============================================================)-->

<head>

<title>Address</title>

<!--(Meta)==========================================================-->

<meta name=generator content="RoboHELP by eHelp Corporation - www.ehelp.com">
<meta name=generator-major-version content=0.1>
<meta name=generator-minor-version content=1>
<meta name=filetype content=kadov>
<meta name=filetype-version content=1>
<meta name=page-count content=1>
<meta name=layout-height content=1814>
<meta name=layout-width content=624>
<meta name=date content="01 7, 2003 2:34:43 PM">


<!--(Links)=========================================================-->

<link rel="StyleSheet" href="../../css/main_styles.css">



</head>

<!--(Body)==========================================================-->


<body class="bodydocs" onLoad="top.pageLoader()" bgcolor="#FFFFFF">


<p class=EndLine>&nbsp;</p>

<h1>Address</h1>

<h5 style="margin-left: 40px;"><span style="font-style: italic;">Element 
 Name</span></h5>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">ADDRESS </span><span 
 style="font-style: italic;"><span style="font-weight: bold;">name</span></span></p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">{</span></p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">&nbsp; @ FORMAT 
 </span><span style="font-style: italic;"><span style="font-weight: bold;">name</span></span><span 
 style="font-weight: bold;"> @</span></p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">&nbsp; @ FORCE 
 &lt; Always | Once | Off &gt; @</span></p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">&nbsp; @ MAX </span><span 
 style="font-style: italic;"><span style="font-weight: bold;">number</span></span><span 
 style="font-weight: bold;"> &lt;Abort | Warning | Truncate&gt; @</span></p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">&nbsp; @ MIN </span><span 
 style="font-style: italic;"><span style="font-weight: bold;">number</span></span><span 
 style="font-weight: bold;"> &lt;Abort | Warning | Truncate&gt; @</span></p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">&nbsp; @ LEADER</span><span 
 style="font-style: italic;"><span style="font-weight: bold;"> </span></span><span 
 style="font-weight: bold;">&lt; string | [TCL_expression] &gt; @</span></p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">&nbsp; @ TRAILER 
 </span><span style="font-style: italic;"><span style="font-weight: bold;">string 
 @</span></span></p>

<p CLASS=ListBulletTxt><span style="font-style: italic;"><span style="font-weight: bold;">&nbsp; 
 @ </span></span><span style="font-weight: bold;">INCREMENTAL &lt; ON | 
 OFF &gt; @</span></p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">}</span></p>

<h5 style="margin-left: 40px;"><span style="font-style: italic;">Description</span></h5>

<p CLASS=ListBulletTxt>Instructs Post to create an Address identified by 
 the string <span style="font-weight: bold;"><span style="font-style: italic;">name</span></span>. 
 The definition can set any of the above mentioned attributes. Post provides 
 defaults for these (see below) so only non-default values need to be provided. 
 These attributes can appear in any order. These attributes have the following 
 meanings:</p>

<h5 style="margin-left: 40px;"><span style="font-style: italic;">Parameter 
 Definitions</span></h5>

<p CLASS=ListBulletTxt
	style="margin-left: 40px;"><span style="font-weight: bold;">FORMAT 
 </span><span style="font-style: italic;"><span style="font-weight: bold;">name</span></span></p>

<p CLASS=ListBulletTxt
	style="margin-left: 40px;">Instructs Post to use format <span style="font-style: italic;">name</span> 
 to print the value of the address expression to the output.</p>

<p CLASS=ListBulletTxt
	style="margin-left: 40px;">Default is %6.3d</p>

<p CLASS=ListBulletTxt
	style="margin-left: 40px;"><span style="font-weight: bold;">FORCE Always</span></p>

<p CLASS=ListBulletTxt
	style="margin-left: 40px;">Instructs Post to always output the value 
 of an address expression.</p>

<p CLASS=ListBulletTxt
	style="margin-left: 40px;"><span style="font-weight: bold;">FORCE Once</span></p>

<p CLASS=ListBulletTxt
	style="margin-left: 40px;">Instructs Post to output the value of the 
 next address expression.</p>

<p CLASS=ListBulletTxt
	style="margin-left: 40px;">(Default)</p>

<p CLASS=ListBulletTxt
	style="margin-left: 40px;"><span style="font-weight: bold;">FORCE Off</span></p>

<p CLASS=ListBulletTxt
	style="margin-left: 40px;">Instructs Post to not force the output of 
 the value of an address expression. Instead, output the value of an address 
 expression if and only if the value is different than the previous address 
 expression value for this address.</p>

<p CLASS=ListBulletTxt
	style="margin-left: 40px;"><span style="font-weight: bold;">MAX </span><span 
 style="font-style: italic;"><span style="font-weight: bold;">number</span></span><span 
 style="font-weight: bold;"> </span><span style="font-style: italic;"><span 
 style="font-weight: bold;">&lt;Abort|Warning|Truncate&gt;</span></span></p>

<p CLASS=ListBulletTxt
	style="margin-left: 40px;">Instructs Post to use <span style="font-style: italic;">number 
 </span>as the maximum value to be output by this address.</p>

<p CLASS=ListBulletTxt
	style="margin-left: 80px;"><span style="font-weight: bold;">Abort</span></p>

<p CLASS=ListBulletTxt
	style="margin-left: 80px;">If Max is violated then Abort creation of 
 NC file.</p>

<p CLASS=ListBulletTxt
	style="margin-left: 80px;"><span style="font-weight: bold;">Warning</span></p>

<p CLASS=ListBulletTxt
	style="margin-left: 80px;">If Max is violated then write a warning 
 message to the system log file and continue.</p>

<p CLASS=ListBulletTxt
	style="margin-left: 80px;"><span style="font-weight: bold;">Truncate</span></p>

<p CLASS=ListBulletTxt
	style="margin-left: 80px;">If Max is violated then write a warning 
 message to the system log and continue using the Max value as the output 
 value of the address.</p>

<p CLASS=ListBulletTxt
	style="margin-left: 40px;">Default is 999999999.99 Truncate</p>

<p CLASS=ListBulletTxt
	style="margin-left: 40px;"><span style="font-weight: bold;">MIN </span><span 
 style="font-style: italic;"><span style="font-weight: bold;">number</span></span><span 
 style="font-weight: bold;"> </span><span style="font-style: italic;"><span 
 style="font-weight: bold;">&lt;Abort|Warning|Truncate&gt;</span></span></p>

<p CLASS=ListBulletTxt
	style="margin-left: 40px;">Instructs Post to use <span style="font-style: italic;">number 
 </span>as the minimum value to be output by this address.</p>

<p CLASS=ListBulletTxt
	style="margin-left: 80px;"><span style="font-weight: bold;">Abort</span></p>

<p CLASS=ListBulletTxt
	style="margin-left: 80px;">If Min is violated then Abort creation of 
 NC file.</p>

<p CLASS=ListBulletTxt
	style="margin-left: 80px;"><span style="font-weight: bold;">Warning</span></p>

<p CLASS=ListBulletTxt
	style="margin-left: 80px;">If Min is violated then write a warning 
 message to the system log file and continue.</p>

<p CLASS=ListBulletTxt
	style="margin-left: 80px;"><span style="font-weight: bold;">Truncate</span></p>

<p CLASS=ListBulletTxt
	style="margin-left: 80px;">If Min is violated then write a warning 
 message to the system log and continue using the Min value as the output 
 value of the address.</p>

<p CLASS=ListBulletTxt
	style="margin-left: 40px;">Default is -999999999.99 Truncate</p>

<p CLASS=ListBulletTxt
	style="margin-left: 40px;"><span style="font-weight: bold;">LEADER 
 string</span></p>

<p CLASS=ListBulletTxt
	style="margin-left: 40px;">Precede this address with <span style="font-weight: bold;"><span 
 style="font-style: italic;">string</span></span> in <span style="font-style: italic;">every</span> 
 template in which the address appears.</p>

<p CLASS=ListBulletTxt
	style="margin-left: 40px;">Default is the Address name.</p>

<p CLASS=ListBulletTxt
	style="margin-left: 40px;"><span style="font-weight: bold;">LEADER 
 [TCL_expression]</span></p>

<p CLASS=ListBulletTxt
	style="margin-left: 40px;">If [TCL_expression} is used, then Post will 
 evaluate TCL_expression just before outputting the ADDRESS value and use 
 the value of the expression as the Address leader.</p>

<h5 style="margin-left: 40px;"><span style="font-style: italic;">Example</span></h5>

<p CLASS=ListBulletTxt>LEADER $opt_minus_zero</p>

<p CLASS=ListBulletTxt>where opt_minus_zero is set in the event handler, 
 eg,</p>

<p CLASS=ListBulletTxt>if { $mom_pos(4) == 0 } { set opt_minus_zero &quot;-&quot; 
 }</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">TRAILER</span></p>

<p CLASS=ListBulletTxt>Follow this address with <span style="font-weight: bold;"><span 
 style="font-style: italic;">string</span></span> in <span style="font-style: italic;">every</span> 
 template in which the address appears.</p>

<p CLASS=ListBulletTxt>Default is the empty string.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">INCREMENTAL ON</span></p>

<p CLASS=ListBulletTxt>Instructs Post to output the incremental value from 
 the previous absolute address value.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">INCREMENTAL OFF</span></p>

<p CLASS=ListBulletTxt>Instructs Post to output the absolute address value.</p>

<p CLASS=ListBulletTxt><span style="font-weight: bold;">OMIT &quot;value&quot;</span></p>

<p CLASS=ListBulletTxt>Instructs Post to not output the address if its 
 value is equal to the OMIT &quot;value&quot;.</p>

<p CLASS=ListBulletTxt>OMIT takes precedence over FORCE.</p>

<p CLASS=ListBulletTxt>The OMIT value will be formated using the FORMAT 
 specified for the address before it is compared to the value about to 
 be output.</p>

<p CLASS=ListBulletTxt><span style="font-style: italic;">Example</span></p>

<p CLASS=ListBulletTxt
	style="margin-left: 40px;">ADDRESS cutcom_register {</p>

<p CLASS=ListBulletTxt
	style="margin-left: 80px;">FORMAT Socket_2<br>
MAX 99<br>
MIN 0<br>
FORCE off<br>
LEADER &quot;D&quot;<br>
OMIT &quot;3.14159&quot;</p>

<p CLASS=EndLine>&nbsp;</p>

<p CLASS=blank>&nbsp;</p>

</body>

</html>
