Retrieves element subtypes for the specified element. Most Statemate elements are divided into classes, referred to as
subtypes. For example, a state might belong to one of a number of subtypes, such as
and,
or,
basic,
diagram,
instance, or
reference.
Although the return value of this function is of type INTEGER
, the Documentor enables you to refrence this value by name. The name is internally defined as a predefined constant in DGL. The following table lists the possible values:
To retrieve the type of state READY
and execute some statements if the state is an
or
state, use the following statements:
If READY
is an or-state, the statements following
THEN
are executed.