|
|
|
|
Component (Type of variable) In french: Composante
The Component type is used to easily handle an external component. This makes it possible to get a global interface that can be used in the component.
// Load a component compo is Component IF ComponentLoad(compo, fExeDir() + fSep() + "ComponentExample.wdk") THEN Trace("OK") // Execution of the component procedures Trace(ComponentExecute("GlobalProcedures.Test")) Trace(ComponentExecute("GlobalProcedures.TestWithParameters", (1))) END
Remarks - To initialize a Component variable, use ComponentLoad.
- A Component variable can be handled using the following functions:
| | | Executes a global procedure present in an external component. This external component is loaded with ComponentLoad. | ComponentLoad | Loads an external component. This component can be:- an external component present in the current project.
- an external component independent of the current project.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|