Debian Codegraph @

docsrc/xlisp/xlisp-doc/reference/char-not-lessp-s.htm

raw
1 <html><head><title>XLISP char&gt;=</title>
2
3 <link rel="stylesheet" type="text/css" href="reference.css">
4
5 </head>
6
7 <body>
8
9 <a href="../start.htm">Nyquist / XLISP 2.0</a>&nbsp; -&nbsp;
10 <a href="../manual/contents.htm">Contents</a> |
11 <a href="../tutorials/tutorials.htm">Tutorials</a> |
12 <a href="../examples/examples.htm">Examples</a> |
13 <a href="reference-index.htm">Reference</a>
14
15 <hr>
16
17 <h1>char&gt;=</h1>
18
19 <hr>
20
21 <p><table cellpadding="0" cellspacing="0" style="margin-left:10px"><tbody>
22 <tr valign="top">
23 <td><nobr>Type:</nobr></td>
24 <td><nobr>&nbsp;&nbsp;-&nbsp;&nbsp;</nobr></td>
25 <td width="100%"><nobr>function (subr)</nobr></td>
26 </tr>
27 <tr valign="top">
28 <td><nobr>Source:</nobr></td>
29 <td><nobr>&nbsp;&nbsp;-&nbsp;&nbsp;</nobr></td>
30 <td width="100%"><nobr>xlstr.c</nobr></td>
31 </tr>
32 </tbody></table></p>
33
34 <h2>Syntax</h2>
35
36 <p><div class="box">
37
38 <dl>
39 <dt>(<b>char&gt;=</b> <i>char1 charN</i> ... )</dt>
40 <dd><i>char1</i> - a character expression<br>
41 <i>charN</i> - character expression[s] to compare<br>
42 returns - <a href="t.htm">&nbsp;T&nbsp;</a>
43 if the characters are of monotonically non-increasing
44 <a href="../misc/ascii-table.htm">ASCII</a> value,
45 <a href="nil.htm">NIL</a> otherwise<br>
46 <b>Note:</b> case is significant with this function</dd>
47 </dl>
48
49 </div></p>
50
51 <h2>Description</h2>
52
53 <p>The 'char&gt;=' function tests if all character arguments are
54 monotonically <nobr>non-increasing</nobr>.
55 <nobr><a href="t.htm">&nbsp;T&nbsp;</a> is</nobr> returned if the arguments
56 are of monotonically <nobr>non-increasing</nobr>
57 <a href="../misc/ascii-table.htm">ASCII</a> value, <a href="nil.htm">NIL</a>
58 otherwise. <nobr>In the</nobr> case of two arguments, this has the effect of
59 testing if 'char1' is greater than or equal to 'char2'. This test is case
60 sensitive, the character '#\a' is different and of greater
61 <a href="../misc/ascii-table.htm">ASCII</a> value than the <nobr>characrer
62 '#\A'</nobr>.</p>
63
64 <h2>Examples</h2>
65
66 <pre class="example">
67 (char&gt;= #\a #\b) =&gt; NIL
68 (char&gt;= #\b #\a) =&gt; T
69 (char&gt;= #\c #\b #\a) =&gt; T
70 (char&gt;= #\a #\a) =&gt; T
71 (char&gt;= #\c #\a #\b) =&gt; NIL
72 (char&gt;= #\A #\a) =&gt; NIL
73 (char&gt;= #\a #\A) =&gt; T
74 </pre>
75
76 <p>See also:</p>
77
78 <ul>
79 <li><nobr>Contents &rarr; <a href="../manual/contents.htm#character-functions">Character Functions</a></nobr></li>
80 </ul>
81
82 <p><nobr>&nbsp;&nbsp;<a href="#top">Back to Top</nobr></a></p>
83
84 <hr>
85
86 <a href="../start.htm">Nyquist / XLISP 2.0</a>&nbsp; -&nbsp;
87 <a href="../manual/contents.htm">Contents</a> |
88 <a href="../tutorials/tutorials.htm">Tutorials</a> |
89 <a href="../examples/examples.htm">Examples</a> |
90 <a href="reference-index.htm">Reference</a>
91
92 </body></html>