Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /docs/trunk/publican/rexxref/en-US/fundclasses.xml [r8243] .. [r8244] Maximize Restore

  Switch to side-by-side view

--- a/docs/trunk/publican/rexxref/en-US/fundclasses.xml
+++ b/docs/trunk/publican/rexxref/en-US/fundclasses.xml
@@ -1827,6 +1827,10 @@
 for the ==, \==, =, \=, ><, and <> operators.
 A string object will never compare equal to the Nil object, even when the
 string matches the string value of the Nil object ("The Nil object").
+As a result, == will always return
+0 (false) when compared to the Nil object and \== will always return 1
+(true). All of the relational comparisions (for example, <, >,
+<=, etc.) will always return .false when compared to the Nil object.
 </para>
 
 <para>The comparison operators you can use in a message are: </para>
@@ -1843,7 +1847,7 @@
 <tertiary>of String class</tertiary></indexterm>
 </entry>
 <entry><para>True if the terms are equal (for example, numerically or when
-padded)
+padded). False if <emphasis role="italic">argument</emphasis> is the Nil object.
 </para></entry></row>
 <row><entry>\=, &gt;&lt;, &lt;&gt;
 <indexterm><primary>>&lt; method</primary>
@@ -1862,49 +1866,49 @@
 <secondary>&lt;&gt;</secondary>
 <tertiary>of String class</tertiary></indexterm>
 </entry>
-<entry><para>True if the terms are not equal (inverse of =)
+<entry><para>True if the terms are not equal (inverse of =). True if <emphasis role="italic">argument</emphasis> is the Nil object.
 </para></entry></row>
 <row><entry>&gt;
 <indexterm><primary>&gt; method</primary></indexterm>
 <indexterm><primary>method</primary>
 <secondary>></secondary></indexterm>
 </entry>
-<entry><para>Greater than
+<entry><para>Greater than. False if <emphasis role="italic">argument</emphasis> is the Nil object.
 </para></entry></row>
 <row><entry>&lt;
 <indexterm><primary>&lt; method</primary></indexterm>
 <indexterm><primary>method</primary>
 <secondary>&lt;</secondary></indexterm>
 </entry>
-<entry><para>Less than
+<entry><para>Less than. False if <emphasis role="italic">argument</emphasis> is the Nil object.
 </para></entry></row>
 <row><entry>&gt;=
 <indexterm><primary>&gt;= method</primary></indexterm>
 <indexterm><primary>method</primary>
 <secondary>&gt;=</secondary></indexterm>
 </entry>
-<entry><para>Greater than or equal to
+<entry><para>Greater than or equal to. False if <emphasis role="italic">argument</emphasis> is the Nil object.
 </para></entry></row>
 <row><entry>\&lt;
 <indexterm><primary>\&lt; method</primary></indexterm>
 <indexterm><primary>method</primary>
 <secondary>\&lt;</secondary></indexterm>
 </entry>
-<entry><para>Not less than
+<entry><para>Not less than. False if <emphasis role="italic">argument</emphasis> is the Nil object.
 </para></entry></row>
 <row><entry>&lt;=
 <indexterm><primary>&lt;= method</primary></indexterm>
 <indexterm><primary>method</primary>
 <secondary>&lt;=</secondary></indexterm>
 </entry>
-<entry><para>Less than or equal to
+<entry><para>Less than or equal to. False if <emphasis role="italic">argument</emphasis> is the Nil object.
 </para></entry></row>
 <row><entry>\&gt;
 <indexterm><primary>\&gt; method</primary></indexterm>
 <indexterm><primary>method</primary>
 <secondary>\&gt;</secondary></indexterm>
 </entry>
-<entry><para>Not greater than
+<entry><para>Not greater than. False if <emphasis role="italic">argument</emphasis> is the Nil object.
 </para></entry></row>
 </tbody>
 </tgroup>