vsTASKER 7 User Manual
×
Menu
Index

Interface Tag

 
When the type is referring another Component or Data-Model class, specify here the name of the class with its own Dyn-UI.
The Interface will provide an Edit button for the variable to popup the remote Dyn-UI.
Use DSPL in the remote interface so that some values can be displayed in this one.
 
ie:
Complex my_value; //&& INTF[Complex]
 
For embedded interfaces, it is advised to set the default values of the interface variables locally than using the setDefault function.
For example, if a Component Foo uses a Data-Model Complex (above) defining two variables, sign and speed, then initializing these variables from Foo will be done this way:
 
Complex my_value; //&& INTF[Complex] DEF[sign(-1),speed(16.3)]
 
DSPL or DISPLAY: allow this variable value to be displayed on the interface, if the class is embedded into another interface.
For example, if a class foo (component or data-model or logic) contains 3 variables: x, y, z and that for each of them, //&& DSPL is
defined, then, if foo is used as a variable of another class, x,y,z values will be displayed between brackets.
 
ie:
int my_value; //&& DSPL