SetDomain Function

Action

Returns a set which contains all the members in the set domain.

Syntax

Set = SetDomain (SetType)
Variable Description
Set The returned set. SET.
SetType The name of the set data type as defined in a type...is set declaration. TYPE.

Notes

SetDomain initializes a SET variable of a particular SET data type with all of the possible values for that data type.

Example

[-] type PRIMARY_COLORS is set
	[ ] Red
	[ ] Blue
	[ ] Yellow
[ ] 
[ ] PRIMARY_COLORS PrimaryColors = SetDomain (PRIMARY_COLORS)