Prism User's Guide - CSAIL People - MIT
Prism User's Guide - CSAIL People - MIT
Prism User's Guide - CSAIL People - MIT
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
156<br />
<strong>Prism</strong> User s <strong>Guide</strong><br />
------ ---------- ---- ----- -- --- --- ---- 1 " -- .... .. .... ...... ..<br />
C.2 Splitting the Source Window<br />
Begin by loading the executable CM Fortan program into <strong>Prism</strong>.<br />
You then split the source window to display the corresponding Fortran 77 code<br />
by following these steps:<br />
1. Right-click in the source window to display the source-window popup<br />
menu.<br />
2. Choose Show source pane from this menu.<br />
3. This displays another menu. Choose Show .f source from this menu.<br />
You then see a split screen like that shown in Figure 44. The CM Fortran source<br />
code is in the top pane; the corresponding Fortran 77 source code is in the bottom<br />
pane.<br />
I Une Source File: user&cmsg7ftileforgellOlb.fcm<br />
10<br />
11<br />
12<br />
13<br />
14<br />
15<br />
16<br />
17<br />
19 -<br />
19<br />
20<br />
21<br />
22<br />
23<br />
24<br />
25<br />
real al(aslzel)<br />
CFs LAYOUT al (:NEWS)<br />
PRINT 40, 'Test: ilO1b'<br />
FORALL (f 1:12) a(i) = mod(l,7)<br />
CALL l101b(a1,izel)<br />
PRINT 10, 1<br />
include 'test-Formats.inc'<br />
STOP<br />
END<br />
x77: -------<br />
* x77: Transformation of I101B from ilOlb.f<br />
C x77:<br />
C x77: Transform DO/ENODO (1) I<br />
i<br />
11<br />
13 print 40, 'Teat: iOib'<br />
14 do = .sizel<br />
14 al i) = mod(l,7)<br />
end do<br />
15 cll lOlb(1., izeD)<br />
16 print 10, l<br />
17<br />
19 - include 'test-formats.ln'<br />
19<br />
20 stop<br />
21 end<br />
22<br />
23<br />
24 C Item 101 Priorit 5<br />
25 C Fortrmn-77 source:<br />
Figure 44. CM Fortran and Fortran 77 code in a split screen.<br />
When your screen is split, breakpoints you set in the line-number region of one<br />
pane also appear at the corresponding line in the other pane.<br />
Version 1.2, March 1993<br />
Copyright 0 1993 Thinking Machines Corporation<br />
I<br />
,9