logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Nice/web manual.xml,1.25,1.26: msg#00135

Subject: Nice/web manual.xml,1.25,1.26
Update of /cvsroot/nice/Nice/web
In directory sc8-pr-cvs1:/tmp/cvs-serv24596/web

Modified Files:
        manual.xml 
Log Message:
Use System.out.println in Java, not println.
Make advantage of the import in the Nice-from-Java example.
Typos.


Index: manual.xml
===================================================================
RCS file: /cvsroot/nice/Nice/web/manual.xml,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** manual.xml  19 Jun 2003 20:32:50 -0000      1.25
--- manual.xml  19 Jun 2003 21:09:59 -0000      1.26
***************
*** 110,114 ****
      <para>
        Note that this is somewhat different from Java packages.
!       In Java, a class can be used independantly of its declaring package.
        In Nice methods can be declared outside classes, so importing
        the whole package is important to know the methods available for a
--- 110,114 ----
      <para>
        Note that this is somewhat different from Java packages.
!       In Java, a class can be used independently of its declaring package.
        In Nice methods can be declared outside classes, so importing
        the whole package is important to know the methods available for a
***************
*** 360,364 ****
        <literal>:</literal> before the value given to that parameter.
        Named parameters can be given in any order.
!       This is useful when writting the call, because one does not
        need to remember the order of the arguments, but only their names.
        When reading the code, it is much easier to understand
--- 360,364 ----
        <literal>:</literal> before the value given to that parameter.
        Named parameters can be given in any order.
!       This is useful when writing the call, because one does not
        need to remember the order of the arguments, but only their names.
        When reading the code, it is much easier to understand
***************
*** 883,887 ****
      <section><title>Tuples</title>
        <para>
!        A tuple is a groupment of several values in a single expression.
         For instance, <literal>("Hello", 2*3, x.toString())</literal> 
         is a tuple whose elements are the string <literal>"Hello"</literal>,
--- 883,887 ----
      <section><title>Tuples</title>
        <para>
!        A tuple is a grouping of several values in a single expression.
         For instance, <literal>("Hello", 2*3, x.toString())</literal> 
         is a tuple whose elements are the string <literal>"Hello"</literal>,
***************
*** 1004,1008 ****
        <type>int</type> but incomparable with <type>short</type>.
        Conversion from a smaller to a larger type is automatic.
!       Conversion from a larger to a smaller type must be done explicitely,
        since they can lose information about the magnitude of the value.
        </para>
--- 1004,1008 ----
        <type>int</type> but incomparable with <type>short</type>.
        Conversion from a smaller to a larger type is automatic.
!       Conversion from a larger to a smaller type must be done explicitly,
        since they can lose information about the magnitude of the value.
        </para>
***************
*** 1089,1093 ****
          Since Java allows the value to be &NULL;, 
          the Nice compiler 
!         currently suposes it's <type>?String</type> (it can only be 
          sure about primitive types like <type>int</type>).
        </para>
--- 1089,1093 ----
          Since Java allows the value to be &NULL;, 
          the Nice compiler 
!         currently supposes it's <type>?String</type> (it can only be 
          sure about primitive types like <type>int</type>).
        </para>
***************
*** 1233,1240 ****
      Worker w = new Worker("Julia", 1000);
  
!     println(my.nice.pkg.dispatch.display(p));
!     println(my.nice.pkg.dispatch.display(w));
!     if (my.nice.pkg.fun.isRich(w))
!       println("A well paid worker!");
    }
  }
--- 1233,1240 ----
      Worker w = new Worker("Julia", 1000);
  
!     System.out.println(dispatch.display(p));
!     System.out.println(dispatch.display(w));
!     if (fun.isRich(w))
!       System.out.println("A well paid worker!");
    }
  }
***************
*** 1341,1345 ****
        is none, a solution is to use <literal>cast(null)</literal>.
        This expression will be accepted in any context.
!       It is then your responsability to make sure that this value is
        not used.
        </para>
--- 1341,1345 ----
        is none, a solution is to use <literal>cast(null)</literal>.
        This expression will be accepted in any context.
!       It is then your responsibility to make sure that this value is
        not used.
        </para>




-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php


<Prev in Thread] Current Thread [Next in Thread>