(arxload filename [onfailure])


Loads an IRX, TX, or .NET application.


The filename argument is the path of an application.

The onfailure argument is an optional value to be returned in case of an error. If it is provided, *error* is not invoked.

The function returns filename if the operation is successful; otherwise, it returns onfailure, if provided, or nil. In the last case, *error* is also called.

An attempt to load an already-loaded application is not an error, but an appropriate message is shown.

Examples

The following example loads a "MyApp.irx" application:

(arxload "MyApp.irx")

> "MyApp.irx"

The example of using the onfailure argument:

(arxload "NotExistingApp.irx" "not exist")

> "not exist"

 

Tell me about...

(arx)

(arxunload filename [onfailure])

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language