Sets MD3
Sets are concepts that form the mathematical basis of Match Developer 3. Most of the time they are used in the background without the user even knowing they are being used. However, in some situations it is useful to have sets as explicit, named modeling components. For example, each domain is a set, and in order to share domains between variables it is useful to have them represented as sets and available as modeling components.
Create Set
- In Navigator section Sets right-click and select New Set.
- In Inspector tab Specification edit the properties of the set.
Update Set
- In Navigator section Sets select the name of the set.
- In Inspector tab Specification edit the properties of the set.
Duplicate Set
In Navigator section Sets right-click a set and select Duplicate.
Delete Set
In Navigator section Sets some names can be displayed shaded. Such a set is not used. It is "lost" and can be deleted. Right-click and select Delete.
Another possibility is the next. Right-click and select Delete all lost Sets.
Edit Set Properties
Have the properties displayed in Inspector tab Specification. Type a meaningful Name. In Comments free explaining text can be entered.
A set has a resemblance to a variable domain. It can represent a variable domain. Click combobox Set domain type and select a type:
- Text List
- Text Length
- Number List
- Number Length
For a Text List or Number List set Details domain specification is a list to contain domain elements. For type Text List they can be any text. Some Match keywords, like VALUE, are forbidden. For type Number List they must be numbers.
For a Text Length or Number Length set Detailed domain specs is mainly an Interval. For both Number types there is also a section on Number Format.
The list Variables using the set can be populated with variables. Right-click it and select Insert Variable. To delete, right-click a variable name and select Delete.
An alternative way to set using a set is described in category Variables.