48 lines
53 KiB
Plaintext
48 lines
53 KiB
Plaintext
1
|
||
|
||
Medley for the Novice, Release 2.0
|
||
1
|
||
|
||
Medley for the Novice, Release 2.0
|
||
18. MASTERSCOPE
|
||
1
|
||
|
||
18. MASTERSCOPE
|
||
1
|
||
|
||
|
||
"18"18. MASTERSCOPE
|
||
6
|
||
|
||
|
||
Masterscope(MASTERSCOPE NIL Masterscope NIL ("18") 1) is a tool that allows you to quickly examine the structure of complex programs. As your programs enlarge, you may forget what variables are global, what functions call other functions, and so forth. Masterscope keeps track of this for you.
|
||
To use Masterscope, first load MASTERSCOPE.DFASL(MASTERSCOPE.DFASL NIL NIL NIL ("18") 1) and EXPORTS.ALL.
|
||
Suppose that JVTO is the name of a file that contains many of the functions involved in a complex system and that LINTRANS is the file containing the remaining functions. The first step is to ask Masterscope to analyze these files. These files must be loaded. All Masterscope queries and commands begin with a period followed by a space, as in
|
||
. ANALYZE FNS ON MSCOPEDEMO
|
||
The ANALYZE process takes a while, so the system prints a period on the screen for each function it has analyzed. (See Figure 18-1)
|
||
|