autoload


(autoload  filename  commands)

This function defines the Lisp module to be loaded for the specified command(s); 'commands' is a list of C: commands defined by the 'filename' Lisp file.

Arguments

filename  name of a Lisp module to be loaded, if any of the specified C: commands is invoked

commands  list of C: command(s)

Return

always returns NIL

Example

(autoload "MyApp.lsp" '("C:MyCmdA" "C:MyCmd2"))
will search and load "MyApp.lsp (if found) if C:MyCmdA or C:MyCmdB is invoked (by user or application code)

Remarks

the .lsp and .des filename extensions are supported (if extension is omitted in filename);
normal findfile search sequence is used if filename does not contain a path



©  Bricsys NV. All rights reserved.