(xload appname [flag])
Load that SDS application.
This function loads the SDS application (a DLL file) specified by appname. Once the application is loaded, you have access to all the commands it registers.
The optional flag argument is only used when an error occurs during loading. The xload function returns the value of this flag upon failure; when flag is missing, an error message is displayed instead.
When the application you are attempting to xload is already loaded, you see a message to that effect. It will not be loaded a second time.
Examples
| Code | Returns |
|---|---|
| (xload "goodapp") | Loads the application "goodapp". |
| (xload "badapp") | Error loading application: Could not find badapp.dll. |
| (xload "badapp" "Uh-oh!") | Error loading application: Could not find badapp.dll. "Uh-oh!" |
| (xload "badapp" (xload "goodapp")) | Loads the application "goodapp". Error loading application: Could not find badapp.dll |
| (xload "loadedapp") | Application "C:loadedapp.dll" is already loaded. |
| (xload "loadedapp") | Can't open "loadedapp" for execution. error: XLOAD failed *Cancel* "loadedapp" |
en
italiano
čeština
Deutsch
français
hrvatski
magyar
polski
српски
русский
中文
中文
한국어
español