| 1 |
<html><head><title>XLISP find-in-xlisp-path</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> - |
| 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>find-in-xlisp-path</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> - </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> - </nobr></td> |
| 30 |
<td width="100%"><nobr>path.c</nobr></td> |
| 31 |
</tr> |
| 32 |
</tbody></table></p> |
| 33 |
|
| 34 |
<h2>Syntax</h2> |
| 35 |
|
| 36 |
<dl> |
| 37 |
<dt>(find-in-xlisp-path <i>filename</i>)</dt> |
| 38 |
<dd><i>filename</i> - the name of the file to search for as string<br> |
| 39 |
returns - a full path name to the first occurrence found</dd> |
| 40 |
</dl> |
| 41 |
|
| 42 |
<h2>Description</h2> |
| 43 |
|
| 44 |
<p>The '<nobr>find-in-xlisp-path</nobr>' function searches the XLISP search |
| 45 |
path <nobr>[e.g. XLISPPATH</nobr> from the environment] for 'filename'. |
| 46 |
<nobr>If 'filename'</nobr> is not found as is, and there is no file |
| 47 |
extension, '.lsp' is appended to filename and searched again. <nobr>The |
| 48 |
current</nobr> directory is not searched.</p> |
| 49 |
|
| 50 |
<h2>Examples</h2> |
| 51 |
|
| 52 |
<pre class="example"> |
| 53 |
|
| 54 |
</pre> |
| 55 |
|
| 56 |
<p><nobr> <a href="#top">Back to Top</nobr></a></p> |
| 57 |
|
| 58 |
<hr> |
| 59 |
|
| 60 |
<a href="../start.htm">Nyquist / XLISP 2.0</a> - |
| 61 |
<a href="../manual/contents.htm">Contents</a> | |
| 62 |
<a href="../tutorials/tutorials.htm">Tutorials</a> | |
| 63 |
<a href="../examples/examples.htm">Examples</a> | |
| 64 |
<a href="reference-index.htm">Reference</a> |
| 65 |
|
| 66 |
</body></html> |