logo       
Google Custom Search
    AddThis Social Bookmark Button

Nice/web manual.xml,1.37,1.38: msg#00178

Subject: Nice/web manual.xml,1.37,1.38
Update of /cvsroot/nice/Nice/web
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21417/web

Modified Files:
        manual.xml 
Log Message:
Minor: conform to docbook.


Index: manual.xml
===================================================================
RCS file: /cvsroot/nice/Nice/web/manual.xml,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** manual.xml  25 Feb 2004 18:12:06 -0000      1.37
--- manual.xml  27 Feb 2004 01:30:58 -0000      1.38
***************
*** 508,512 ****
        constants with special meanings. For instance, one might
        write a method for a vending machine:
!       <programlisting language="nice">
        let int NICKEL = 5;
        let int DIME = 10;
--- 508,512 ----
        constants with special meanings. For instance, one might
        write a method for a vending machine:
!       <programlisting lang="nice">
        let int NICKEL = 5;
        let int DIME = 10;
***************
*** 529,533 ****
        it is not. However, there is an easier solution in Nice: the enum.
        <programlisting>
!         enum 
<type><replaceable>class-name</replaceable></type><optional>(<replaceable><type>parameter-type</type></replaceable><replaceable>parameter-name</replaceable>,
 ...)</optional>
          { 
            <replaceable>option,...</replaceable>
--- 529,533 ----
        it is not. However, there is an easier solution in Nice: the enum.
        <programlisting>
!         enum 
<type><replaceable>class-name</replaceable></type><optional>(<type><replaceable>parameter-type</replaceable></type>
 <replaceable>parameter-name</replaceable>, ...)</optional>
          { 
            <replaceable>option,...</replaceable>
***************
*** 535,543 ****
        </programlisting>
        Enums can be simple symbols like
!       <programlisting language="nice">
        enum Color { Red, Orange, Yellow, Blue, Indigo, Violet }
        </programlisting> 
        or they can contain integer (or other) values:
!       <programlisting language="nice">
          enum VendingCoin(int value) 
        {
--- 535,543 ----
        </programlisting>
        Enums can be simple symbols like
!       <programlisting lang="nice">
        enum Color { Red, Orange, Yellow, Blue, Indigo, Violet }
        </programlisting> 
        or they can contain integer (or other) values:
!       <programlisting lang="nice">
          enum VendingCoin(int value) 
        {
***************
*** 1178,1182 ****
            <replaceable>T</replaceable></type></literal>:
          </para>
!         <programlisting language="nice">
            
<replaceable>method-name</replaceable>(<replaceable>argument</replaceable>, ...)
            {
--- 1178,1182 ----
            <replaceable>T</replaceable></type></literal>:
          </para>
!         <programlisting lang="nice">
            
<replaceable>method-name</replaceable>(<replaceable>argument</replaceable>, ...)
            {



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>