<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<!--
Copyright (c) 2006 UGS Corp.

All Rights Reserved.

This software and related documentation are proprietary to UGS Corp.
-->
<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <title>Example 6</title>
      <script language="javaScript">
        abridged="false";
        displayConditions=new Array();
      </script>
      <link type="text/css" href="../css/main_styles.css" rel="stylesheet">
   </head>
   <body class="bodydocs" onload="top.pageLoader()" bgcolor="#FFFFFF">
      <div class="title_topic4" id="xps10_pagetitle"> Example 6</div>
      <hr noshade="true">
      <p class="para_topic"> This illustrates the case where  <em>var1</em> is used ambiguously, therefore, the program replaces all expression strings which reference var1 with their corresponding numeric value.
      </p>
      <p class="para_topic"> List of expressions in part:</p><pre class="indent"> var1 = 45 p0 = var1 p1 = 5.0 + var1</pre><p class="para_topic"> List of converted expressions (after running ug_convert_part):</p><pre class="indent"> var1 = 45 p0 = 45 // var1 // VALUE ONLY // dim 0 p1 = 127 // 5.0 + var1 // VALUE ONLY // dim 1</pre><p class="para_topic"> Information written to syslog:</p><pre class="indent"> The following expression strings were not converted: var1 = 5.0 The dimensionality of var1 is ambiguous. p0 = var1 p0 references an expression with ambiguous dimensionality (var1). p1 = 5.0 + var1 p1 references an expression with ambiguous dimensionality (var1).</pre></body>
</html>