Nyquist / XLISP 2.0  -  Contents | Tutorials | Examples | Reference

find-in-xlisp-path


Type:   -   function (subr)
Source:   -   path.c

Syntax

(find-in-xlisp-path filename)
filename - the name of the file to search for as string
returns - a full path name to the first occurrence found

Description

The 'find-in-xlisp-path' function searches the XLISP search path [e.g. XLISPPATH from the environment] for 'filename'. If 'filename' is not found as is, and there is no file extension, '.lsp' is appended to filename and searched again. The current directory is not searched.

Examples


  Back to Top


Nyquist / XLISP 2.0  -  Contents | Tutorials | Examples | Reference