<!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>Inserting a Comment</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_topic2" id="xps10_pagetitle">Inserting a Comment</div>
      <hr noshade="true">
      <table cellspacing="4" align="center">
         <tr valign="top">
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td"> <a class="links" href="javascript:void(0)" onclick="top.openFile('shared_func/tls_jrn_ov.html');return(false);">Overview</a></p>
            </td>
            <td bgcolor="#c0c0c0" colspan="1" rowspan="1">
               <p class="para_td"> <a class="links" href="javascript:void(0)" onclick="top.openFile('shared_func/tls_jrn_ht.html');return(false);">How To</a></p>
            </td>
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td"> <a class="links" href="javascript:void(0)" onclick="top.openFile('shared_func/tls_jrn_op.html');return(false);">Options</a></p>
            </td>
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td"><a class="links" href="javascript:void(0)" onclick="top.openFile('shared_func/tls_jrn_rt.html');return(false);">Related Topics</a></p>
            </td>
         </tr>
      </table><br><p class="para_topic">This command inserts comments in the current journal. To insert a comment:</p>
      <ol type="1" start="1">
         <li>
            <p class="para_item">While recording a journal, select Tools&rarr;Journal&rarr;Insert&rarr;Comment. This displays the Insert Journal Comments dialog box that allows you to enter multiple lines of text in the upper window and view the current journal contents in the lower window. The lower window is read only.</p>
         </li>
         <li>
            <p class="para_item">Enter a comment in the upper window.</p>
         </li>
         <li>
            <p class="para_item">To insert the comment and close the dialog box, click <b class="uiTerm">OK</b>.
            </p>
         </li>
      </ol>
      <ul>
         <li>
            <p class="para_item">To insert the comment and view the appended comment in the lower window of the dialog box, click <b class="uiTerm">Apply</b>.
            </p>
         </li>
         <li>
            <p class="para_item">To close the dialog box and not insert the comment, click <b class="uiTerm">Cancel</b>.
            </p>
         </li>
      </ul>
      <div class="title_division">Code Syntax</div>
      <p class="para_division">The system applies the appropriate syntax to the inserted comments depending on the programming language preference. For example:</p>
      <p class="para_division">Text entered into the dialog box:</p><pre class="indent">This is the first comment line.
This is the second comment line.</pre><p class="para_division">Text in the journal for Visual Basic.Net:</p><pre class="indent">
'This is the first comment line.
'This is the second comment line.</pre><p class="para_division">Text in the journal for C++ and Java</p><pre class="indent">
// This is the first comment line.
// This is the second comment line.</pre><p class="para_division">Also, C++ allows internationalized text in the comments.</p>
   </body>
</html>