<!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>Using Commands In Statements</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_topic7" id="xps10_pagetitle"> Using Commands In Statements</div>
      <hr noshade="true">
      <p class="para_topic">You can use Tcl commands and extended commands in place of the text literals as in the following excerpt from the example in the schematic:</p><pre class="indent">BDYT='[format &quot;%-6s %-13s %-5s&quot; $mom_operation_name $mom_operation_type $mom_tool_name]'</pre><p class="para_topic">Format is a Tcl command that formats the output according to the specification.</p>
      <p class="para_topic">The following is an example of how you can mix the use of statements and commands:</p><pre class="indent">[MOM_cycle_objects &nbsp; {OPER &nbsp; HDRT='Operation List' &nbsp; HDRT='**************' &nbsp; BDYF='oper_body.tpl' &nbsp; } ]</pre></body>
</html>