COMPONENT LIST
COMPONENT LIST ( componentsArray : Text array )
| Parameter | Type | Description | |
|---|---|---|---|
| componentsArray | Text array | ← | Names of the components |
History
| Release | Changes |
|---|---|
| 11 SQL | Created |
Description
The COMPONENT LIST command sizes and fills the componentsArray array with the names of the components loaded by the 4D application for the current host project.
When a project is opened, 4D loads the valid components:
- found in the Components folder of your project.
- declared in the dependencies.json file of your project.
Reminder: If the same component is installed at different locations, a priority order is applied.
This command can be called from the host project or from a component. If the project does not use any components, the componentsArray array is returned empty.
The names of the components are the names of the structure files of the matrix databases (.4db, .4dc or .4dbase). This command can be used for setting up architectures and modular interfaces that offer additional functionalities according to the presence of components.
For more information about 4D components, please refer to this page.
See also
Properties
| Command number | 1001 |
| Thread safe | yes |