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

<html>

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

<head>

<title>dictnext</title>

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

<meta http-equiv=content-type content="text/html; charset=windows-1252">
<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=689>
<meta name=layout-width content=1024>


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

<link rel="StyleSheet" href="default.css">



</head>

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


<body>

<h1>dictnext</h1>

<h2>Purpose</h2>

<p>Fetch the word after the given word in the KB dictionary hierarchy.</p>

<h2>Syntax</h2>

<p style="line-height: normal;
			x-text-tab-stops: repeat 1in;
			white-space: nowrap;
			font-family: monospace;
			font-size: 10pt;
			margin-top: 0pt;
			margin-bottom: 0pt;">wordConcept = dictnext(currwordConcept)</p>

<p style="margin-left: 40px;
			line-height: normal;
			x-text-tab-stops: repeat 1in;
			white-space: nowrap;
			font-family: monospace;
			font-size: 10pt;
			margin-top: 0pt;
			margin-bottom: 0pt;">wordConcept - type: con</p>

<p style="margin-left: 40px;
			line-height: normal;
			x-text-tab-stops: repeat 1in;
			white-space: nowrap;
			font-family: monospace;
			font-size: 10pt;
			margin-top: 0pt;
			margin-bottom: 0pt;">currwordConcept - type: con</p>

<h2>Returns</h2>

<p>The next word-concept in lexicographic traversal of the KB dictionary 
 hierarchy.</p>

<h2>Remarks</h2>

<p>The dictionary is a specialized part of the KB hierarchy used to store 
 and lookup words. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->dictfirst 
 and dictnext provide a convenient way to traverse the dictionary without 
 worrying about the details of its implementation. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->(I.e., 
 the presence of layers of dictionary indexing concepts.)</p>

<h2>Example</h2>

<p style="line-height: normal;
			x-text-tab-stops: repeat 1in;
			white-space: nowrap;
			font-family: monospace;
			font-size: 10pt;
			margin-top: 0pt;
			margin-bottom: 0pt;">@CODE</p>

<p style="line-height: normal;
			x-text-tab-stops: repeat 1in;
			white-space: nowrap;
			font-family: monospace;
			font-size: 10pt;
			margin-top: 0pt;
			margin-bottom: 0pt;">L(&quot;con&quot;) = dictfirst();</p>

<p style="line-height: normal;
			x-text-tab-stops: repeat 1in;
			white-space: nowrap;
			font-family: monospace;
			font-size: 10pt;
			margin-top: 0pt;
			margin-bottom: 0pt;">while (L(&quot;con&quot;))</p>

<p style="line-height: normal;
			x-text-tab-stops: repeat 1in;
			white-space: nowrap;
			font-family: monospace;
			font-size: 10pt;
			margin-top: 0pt;
			margin-bottom: 0pt;"><!--kadov_tag{{<spaces>}}-->&nbsp;&nbsp;<!--kadov_tag{{</spaces>}}-->{</p>

<p style="line-height: normal;
			x-text-tab-stops: repeat 1in;
			white-space: nowrap;
			font-family: monospace;
			font-size: 10pt;
			margin-top: 0pt;
			margin-bottom: 0pt;"><!--kadov_tag{{<spaces>}}-->&nbsp;&nbsp;<!--kadov_tag{{</spaces>}}-->&quot;output.txt&quot; &lt;&lt; conceptname(L(&quot;con&quot;) &lt;&lt; &quot;\n&quot;;</p>

<p style="line-height: normal;
			x-text-tab-stops: repeat 1in;
			white-space: nowrap;
			font-family: monospace;
			font-size: 10pt;
			margin-top: 0pt;
			margin-bottom: 0pt;"><!--kadov_tag{{<spaces>}}-->&nbsp;&nbsp;<!--kadov_tag{{</spaces>}}-->L(&quot;con&quot;) = dictnext(L(&quot;con&quot;));</p>

<p style="line-height: normal;
			x-text-tab-stops: repeat 1in;
			white-space: nowrap;
			font-family: monospace;
			font-size: 10pt;
			margin-top: 0pt;
			margin-bottom: 0pt;"><!--kadov_tag{{<spaces>}}-->&nbsp;&nbsp;<!--kadov_tag{{</spaces>}}-->}</p>

<p>Prints a list of the dictionary entries, one per line.</p>

<h2>See Also</h2>

<p><a href="dictfirst.htm">dictfirst</a>, <a href="Table_of_Knowledge_Base_Functions.htm">Knowledge 
 Base Functions</a></p>

</body>

</html>
