std-load-external


Synopsis

(std-load-external <filename>)

Description

Extends std-load by searching for appropriate external module extensions like ARX, EXP or EXE.

If a explicit extension is given it only searches for this extension first in the defined *MODULE-PATH*, then in the Acad Library Path.

The order of extensions searched for in each directory, if no explicit extension is given, is:
1) VLX or FAS or BI4 if supported

2) LSP

3) ARX if supported (>= R13)

4) EXE or EXP (ADS modules)

Arguments

filename: string, the filename of the module to be loaded. No extension or pathname needed.

Return Value

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

Side Effects

It loads a module, which may create unpredictable side-effects, such as with std-load.

Module

(std-require 'STDLISP)

Defined in STDINIT and STDLISP