std-load


Synopsis

(std-load <filename>)

Description

Extends load by searching for appropriate extensions in the Acad library path, does not break on errors, and outputs a message when *LOAD-VERBOSE* is set.

If no explicit extension is given, then it searches all extensions which are defined in *LOAD-EXTENSIONS* which defaults to (".VLX"|".FAS"|".BI4" ".LSP") but may be changed. It searches in each directory for the first extension, then with the next extension and so on and if not found tries all other paths.

Arguments

filename: string, the filename of the lisp file to be loaded

Return Value

The return value of the loaded module on success or nil on failure.

Side Effects

It evaluates the contents of a lisp file, which may create unpredictable side-effects.

Module

(std-require 'STDLISP)

Defined in STDINIT and STDLISP