Supplementing the Model with Handwritten Code : Supplementing the Model with a Procedure : Supplementing the Model with a Task

Supplementing the Model with a Task

This subsection explains how to add a handwritten task to your Rational Statemate model by showing the

Rational Statemate also provides templates for functions and procedures. The subroutine’s template is a result of mapping the declarations into its C representation. This includes mapping the parameter types and, in the case of functions, the returned value.

To add a handwritten task:

1.
Select File > New in the Data Dictionary Editor. The New Element dialog box opens.
2.
3.
4.
Select Subroutine as the Element Type.
5.
Click OK. The Data Dictionary Editor appears with the name of the new subroutine.
6.
7.
8.
Select a parameter and click Data Dict. The Parameter dialog box opens.