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

<html>

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

<head>

<title>if</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=471>
<meta name=layout-width content=413>
<meta name=date content="07 27, 2001 1:16:39 PM">


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

<link rel=StyleSheet href=default.css>



</head>

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


<body>

<h1>if</h1>

<p>NLP++ supports <span style="font-weight: bold;">if</span> statements 
 identical to C and C++. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}--></p>

<p>The syntax for <span style="font-weight: bold;">if</span> statements 
 is:</p>

<p style="margin-top: 0pt; margin-bottom: 0pt;">if (expr) </p>

<p style="margin-top: 0pt; margin-bottom: 0pt;"><!--kadov_tag{{<spaces>}}-->&nbsp;&nbsp;<!--kadov_tag{{</spaces>}}-->statement 
 </p>

<p>or </p>

<p style="margin-top: 0pt; margin-bottom: 0pt;">if (expr) </p>

<p style="margin-top: 0pt; margin-bottom: 0pt;"><!--kadov_tag{{<spaces>}}-->&nbsp;&nbsp;<!--kadov_tag{{</spaces>}}-->block 
 </p>

<p>where a block is a list of statements enclosed in curly braces <!--kadov_tag{{<spaces>}}-->&nbsp;<span 
 style="font-weight: bold;"><!--kadov_tag{{</spaces>}}-->{ }</span>. </p>

<p>&nbsp;</p>

</body>

</html>
