Supplementing the Model with Handwritten Code : Supplementing the Model with Subroutines

Supplementing the Model with Subroutines

The following subsections explain how to add handwritten subroutines (functions, procedures, or tasks) to your Rational Statemate model.

The method for adding all three subroutines in the Data Dictionary Editor (DDE) is similar. The major difference is that functions require a Return Type.

Note: In addition to storing subroutines in the Data Dictionary Editor, you can also store their formal parameters.