vl-vlx-loaded-p
 
 
 

Determines whether a separate-namespace VLX is currently loaded

(vl-vlx-loaded-p appname) 

Arguments

appname

A string naming a VLX application.

Return Values

T if the application is loaded, nil if it is not loaded.

Examples

Check to see if the vlxns application is loaded in its own namespace:

Command: (vl-vlx-loaded-p "vlxns")

nil

The application is not loaded in its own namespace.

Now load vlxns:

Command: (load "vlxns.vlx")

nil

Check to see if the vlxns application loaded successfully:

Command: (vl-vlx-loaded-p "vlxns")

T

This example assumes vlxns was defined to run in its own namespace. If the application was not defined to run in its own namespace, it would load into the current document's namespace and vl-vlx-loaded-p would return nil.

See Also