[Swift-commit] r2469 - trunk/docs

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Thu Jan 29 06:24:03 CST 2009


Author: benc
Date: 2009-01-29 06:24:02 -0600 (Thu, 29 Jan 2009)
New Revision: 2469

Modified:
   trunk/docs/userguide.xml
Log:
format operator information as a table

Modified: trunk/docs/userguide.xml
===================================================================
--- trunk/docs/userguide.xml	2009-01-29 12:06:49 UTC (rev 2468)
+++ trunk/docs/userguide.xml	2009-01-29 12:24:02 UTC (rev 2469)
@@ -799,17 +799,23 @@
 <para>The following infix operators are available for use in
 SwiftScript expressions.
 </para>
-<para> + numeric addition; string concatenation </para>
-<para> - numeric subtraction </para>
-<para> * numeric multiplication</para>
-<para> / floating point division </para>
-<para> %/ integer division </para>
-<para> %% integer remainder-of-division</para>
-<para> == != comparison and not-comparison</para>
-<para> < > <= >= </para>
-<para> && || boolean and, or</para>
-<para> ! boolean not </para>
-
+<table frame="all">
+<tgroup cols="2" align="left" colsep="1" rowsep="1">
+ <thead><row><entry>operator</entry><entry>purpose</entry></row></thead>
+ <tbody>
+  <row><entry>+</entry><entry>numeric addition; string concatenation</entry></row>
+  <row><entry>-</entry><entry>numeric subtraction</entry></row>
+  <row><entry>*</entry><entry>numeric multiplication</entry></row>
+  <row><entry>/</entry><entry>floating point division</entry></row>
+  <row><entry>%/</entry><entry>integer division</entry></row>
+  <row><entry>%%</entry><entry>integer remainder of division</entry></row>
+  <row><entry>== !=</entry><entry>comparison and not-equal-to</entry></row>
+  <row><entry> < > <= >=</entry><entry>numerical ordering</entry></row>
+  <row><entry>&& ||</entry><entry>boolean and, or</entry></row>
+  <row><entry>!</entry><entry>boolean not</entry></row>
+ </tbody>
+</tgroup>
+</table>
 	</section>
 
 	</section>




More information about the Swift-commit mailing list