Assigning a Component or Enumeration as Argument
You can use enumerations and other components as interface elements of SWCs. The procedure is described here for an argument of type user-defined. The same procedure can be used for a complex return value.
Note |
|---|
Since ASCET V6.3, complex arguments are always explicit references, even though they are not marked with the overlay icon |
- Open the signature editor for the method to which you want to add the component.
- From the Arguments list, select the item for which you want to specify the data type (or add a new item).
In the Argument Type list, select the entry <user defined>.
A selection dialog window opens for the current database.
From the "Database"or "Workspace" list, select the component or enumeration you want and click OK to close the dialog.
The selected component or enumeration appears in the Argument Type pane on the interface editor.
- Click OK to store the changes you made to the signature.
See also
.