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

<html>

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

<head>

<title>Sequence</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=473>
<meta name=layout-width content=623>
<meta name=date content="01 7, 2003 2:30:22 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>Sequence</h1>

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

<p CLASS=ListBulletTxt><span style="font-weight: bold;">SEQUENCE </span><span 
 style="font-style: italic; font-weight: bold;">name start increment frequency 
 maximum </span></p>

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

<p CLASS=ListBulletTxt>Instructs Post to precede each line of output with 
 a sequence number. It will use Block Template <span style="font-weight: bold; font-style: italic;">name</span><span 
 style="font-style: italic;"> </span>to control the format of the output 
 sequence number (see the description of Block Templates below). The numbers 
 printed will be the sequence <span style="font-weight: bold; font-style: italic;">start</span><span 
 style="font-style: italic;">, start + increment, start + 2*increment, 
 start + 3*increment, ..., start + i * increment. </span>The sequence block 
 will only be output on lines that are a multiple of <span style="font-weight: bold; font-style: italic;">frequency</span>. 
 For example, if <span style="font-weight: bold; font-style: italic;">frequency 
 </span>is 3 then only lines 3, 6, 9, ..., will be preceded by sequence 
 blocks (assuming the addresses in the sequence block are not suppressed, 
 see this section for a discussion of suppress). <span>W</span>hen the 
 sequence number exceeds this <span style="font-weight: bold; font-style: italic;">maximum</span> 
 value the event generator will invoke the event name sequence_overflow 
 in the event handler if the procedure MOM_sequence_overflow is present. 
 If the procedure is not present then the even generator resets the sequence 
 number to <span style="font-weight: bold; font-style: italic;">start</span>. 
 The variable mom_seqnum is the event generator variable that is assumed 
 to store the sequence number. </p>

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

<p CLASS=ListBulletTxt
	style="margin-left: 40px;">SEQUENCE Seq_no 10 10 1</p>

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

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

</body>

</html>
