Single-Element Functions : List of Functions : stm_r_xx_definition_type

stm_r_xx_definition_type
Returns the definition type of the specified textual element.
Note:  

stm_r_definition_type (id, &status)

 

The enumerated type that reflects whether the textual element has a form. The nature of the definition field in the form is stm_definition_type, whose values are:

stm_reference—The element has no form.

stm_primitive—The definition field is empty.

stm_compound—The definition field contains a compound expression.

stm_constant—The definition field contains a constant.

stm_alias—The definition field contains an identifier, a bit array, a component, or a slice (relevant for di only).

stm_explicit—The info_flow has a form.

stm_predefined—Predefined function.

Function Type
stm_definition_type
For Elements
subroutine parameter
Note:
Syntax
stm_r_xx_definition_type (xx_id, &status)
Arguments
 
Input/Output
Status Codes
Return Values
Although the return value of this function is of type int, Dataport allows you to reference this value by name. The name is internally defined as a predefined constant The following table lists the possible values allowed for each Rational Statemate element subtype.
 
subroutine parameter