Debian Codegraph @

docsrc/xlisp/xlisp-doc/reference/global-file-separator.htm

raw
1 <html><head><title>XLISP *file-separator*</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>*file-separator*</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>system variable</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>system.lsp</nobr></td>
31 </tr>
32 </tbody></table></p>
33
34 <h2>Syntax</h2>
35
36 <p><div class="box">
37
38 <dl>
39 <dt>&nbsp;*file-separator*</dt>
40 </dl>
41
42 </div></p>
43
44 <h2>Description</h2>
45
46 <p>The Nyquist *file-separator* variable is initialized to the operation
47 system's file separator character. <nobr>It has</nobr> a value of #\\ on
48 Windows and a value of #\/ on Unix [including Linux and <nobr>Mac OS
49 X]</nobr>.</p>
50
51 <h2>Examples</h2>
52
53 <pre class="example">
54 *file-separator* =&gt; #\/ <font color="#008844">; on Unix, Linux, and Mac OS X</font>
55 *file-separator* =&gt; #\\ <font color="#008844">; on Windows</font>
56 </pre>
57
58 <p><nobr>&nbsp;&nbsp;<a href="#top">Back to Top</nobr></a></p>
59
60 <hr>
61
62 <a href="../start.htm">Nyquist / XLISP 2.0</a>&nbsp; -&nbsp;
63 <a href="../manual/contents.htm">Contents</a> |
64 <a href="../tutorials/tutorials.htm">Tutorials</a> |
65 <a href="../examples/examples.htm">Examples</a> |
66 <a href="reference-index.htm">Reference</a>
67
68 </body></html>