"> Implementation -- Flow Control List

Implementation--
Flow Control List and Entries


The Flow Control List holds information concerning the flow of control from statement to statement in a test program. Flow control list entries hold information concerning the flow of control to or from one particular statement in the test program using Flow Control Transfer Lists. The flow control list is used to simulate the change of the program counter in the test program from one statement to another.

Standard flow of control from statement n to statement n+1 is handled automatically by SimPlan and is not usually represented in the flow control list. It is represented when there is a condition on that particular transfer (as in 'if' and 'while' statements) or when it is not allowed to occur (as in 'goto' statements). There is one flow control list entry built for each statement that is involved in a non-standard transfer of flow control.

The flow control list is a part of the Program List entry. It represents the flow of control in only one test program. There is one flow control list built for each program list entry.

Functionality for the flow control list includes the standard List functions as well as the ability for finding flow control information and list positions concerning a given statement.

Functionality for flow control list entries includes setting and retrieving the base line number for the entry and accessor functions for each of the flow control transfer lists.


Related include files:


Return ...


Andrew Tompkins
Beaverton, OR 97006
Last rev: 16 JUL 03
URL:
http://home.comcast.net/~andytom/simplan.docs/control/flow.ctrl.list.html

Valid XHTML 1.0!