Prism 6.0 User's Guide

Scope in MP Prism

In MP Prism, the scope of the current process determines the scope for resolving the names of variables. See " The Current Process" for a discussion of the current process.

If a command applies to a pset other than the current set, Prism uses the scope of that set's current process.

It is possible that other members of the pset will have different scopes from that of the current process, or that its scope level will not even exist in these processes. In these cases, you receive an error message when you try to issue a command (for example, print or display) that requires a consistent scope. To solve the problem, you can do one of the following:

Commands such as pset and process that affect scope print the current function when you issue them.