load extension | |||||||||||||
Type | command | ||||||||||||
Dictionary | LCS | ||||||||||||
Library | LiveCode Script | ||||||||||||
Syntax |
| ||||||||||||
Summary | Load a LiveCode Builder extension. | ||||||||||||
Introduced | 8.0 | ||||||||||||
Changes | The ability to load multiple modules in a single load extension command was added in LiveCode 9.0. | ||||||||||||
OS | mac, windows, linux, ios, android | ||||||||||||
Platforms | desktop, server, mobile | ||||||||||||
Parameters |
| ||||||||||||
Example |
| ||||||||||||
Values |
| ||||||||||||
Related | Command: unload extension, create widget Function: loadedExtensions, result Glossary: LiveCode Builder extension, command | ||||||||||||
Description | Use the load extension command to load a LiveCode Builder extension. If the extension is a library, its public handlers will be added to the bottom of the message path. If it is a widget, it will be available as a control in the tools palette to drag out, or to create with the create widget command. If the moduleData or the data loaded from filePath contains more than one LiveCode Builder module, then the first module is treated as the extension's main module and the remaining modules are treated as support modules. Support modules are only kept loaded if they are used by the main module. Support modules' names must begin with the name of the main module. | ||||||||||||
Tags | extensions |