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

<html>

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

<head>

<title>addnumval</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=674>
<meta name=layout-width content=916>
<meta name=date content="01 4, 2002 1:18:45 PM">


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

<link REL=StyleSheet HREF=default.css>



</head>

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


<body>

<h1>addnumval</h1>

<h2>Purpose</h2>

<p>Add the number <span style="font-style: italic;">valueNumber</span> 
 as a numeric value to the concept <span style="font-style: italic;">concept</span>'s 
 attribute that has name <span style="font-style: italic;">attrNameString</span>.</p>

<h2>Syntax</h2>

<p style="line-height: normal;
			margin-bottom: 14pt;
			margin-top: 14pt;
			x-text-tab-stops: repeat 1in;
			white-space: nowrap;
			font-family: monospace;
			font-size: 10pt;">addnumval(concept, attrNameString, valueNumber)</p>

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

<h2>Returns</h2>

<p>Nothing</p>

<h2>Remarks</h2>

<p>If the attribute doesn't exist yet, <span style="font-family: monospace;">addnumval</span> 
 will create it. If the concept is bad, an error appears in the log output 
 window at runtime.</p>

<h2>Example</h2>

<p style="line-height: normal;
			margin-bottom: 14pt;
			margin-top: 14pt;
			x-text-tab-stops: repeat 1in;
			white-space: nowrap;
			font-size: smaller;
			font-family: monospace;"><span style="font-size: 10pt;">@CODE<br>
G(&quot;Malibu&quot;) = makeconcept(findroot(), &quot;Malibu&quot;); <br>
addstrval(G(&quot;Malibu&quot;),&quot;Latitude Direction&quot;,&quot;North&quot;);<br>
addstrval(G(&quot;Malibu&quot;),&quot;Longitude Direction&quot;,&quot;West&quot;);</span><span style="font-weight: bold;
	x-text-underline: normal;
	font-size: 10pt;
	/*begin!kadov{{*/ text-decoration: underline; /*}}end!kadov*/ "><br>
addnumval</span><span style="font-size: 10pt;">(G(&quot;Malibu&quot;),&quot;Latitude value&quot;,33); </span><span style="font-weight: bold;
	x-text-underline: normal;
	font-size: 10pt;
	/*begin!kadov{{*/ text-decoration: underline; /*}}end!kadov*/ "><br>
addnumval</span><span style="font-size: 10pt;">(G(&quot;Malibu&quot;),&quot;Longitude value&quot;,118); <br>
addsval(G(&quot;Malibu&quot;),&quot;Route&quot;,1+2);</span> </p>

<h2>See Also</h2>

<p style="margin-bottom: 0;"><a HREF="addattr.htm">addattr</a>, <a HREF="addsval.htm">addsval</a>, 
 <a HREF="addstrval.htm">addstrval</a>, <a href="Table_of_Knowledge_Base_Functions.htm">Knowledge 
 Base Functions</a></p>

</body>

</html>
