<!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 8</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 8</div>
      <hr noshade="true">
      <p class="para_topic"> This illustrates the case where the program replaces an expression string ( <em>(1/2)*p2</em>) by a numeric value because the dimensionality of the number &quot;1&quot; and &quot;2&quot; cannot be calculated.
      </p>
      <p class="para_topic"> List of expressions in part:</p><pre class="indent"> p2 = 5.0 p1 = (1/2) * p2</pre><p class="para_topic"> List of converted expressions (after running ug_convert_part):</p><pre class="indent"> p2 = 127.0 p1 = 63.5 // (1/2) * p2 // VALUE ONLY // dim 1</pre><p class="para_topic"> Information written to syslog:</p><pre class="indent"> The following expression strings were not converted: p1 = (1/2) * p2 p1 references a number with unknown dimensionality.</pre></body>
</html>