Return Tab

Note

Only available in the signature editor for methods.

This tab contains the following elements.

Return Value option

Switches the return value on/off.

Note

The following elements are only available when Return Value is activated.

Return Type combo box

Select the type of the return value. Possible values are:

<user defined>

component or enumeration as return value

<enumeration>

enumeration as return value

cont, sdisc, udisc,

limitInt, wrapInt, log

scalar return value of the respective type

array[cont], array[log],

array[sdisc], array[udisc],

array[limitInt], array[wrapInt],

array[<enumeration>], array[<record>]

array return value of the respective type

mat[cont], mat[log],

mat[sdisc], mat[udisc],

mat[limitInt], mat[wrapInt],

mat[<enumeration>], mat[<record>]

matrix return value of the respective type

Unit field

Enter the unit of the return value.

Comment field

Enter a comment for the return value.

Type combo box

Select a type for a wrapInt return value.

Min and Max fields

Enter lower and upper limit for a limitInt or wrapInt return value.

For limitInt, the values in Min and Max must be representable in sint32 or uint32.

For wrapInt, the values in Min and Max must be representable in the selected Type.

Note

The following options are available for explicit references (i.e. arrays, matrices, or components). It is not possible to disable both options at the same time.

Read for Referenced Element option

If this option is active, the internal access to the referenced element is set to Read.

Write for Referenced Element option

If this option is active, the internal access to the referenced element is set to Write.

You can

Add a Return Value to a Method