04.04.2013 Views

Prism User's Guide - CSAIL People - MIT

Prism User's Guide - CSAIL People - MIT

Prism User's Guide - CSAIL People - MIT

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

76 <strong>Prism</strong> User <strong>Guide</strong><br />

76;i .U .. ------ --- . - -- rsm ....--- r Gi............-----d-e------<br />

Expression Ipreii I * Update dedicated window ( any<br />

([I ncel ~]C | Help<br />

0 Create snapshot window.<br />

O Display In command window.<br />

Figure 17. The Print dialog box from the Debug menu.<br />

In the Expression box, enter the variable or expression whose value(s) you want<br />

printed. Text selected in the source window appears as the default; you can edit<br />

this text.<br />

The dialog boxes also offer choices as to the window in which the values are to<br />

appear:<br />

* You can specify that the values are to be printed or displayed in a standard<br />

window dedicated to the specified expression. The first time you print or<br />

display the data, <strong>Prism</strong> creates this window. If you print data, and subsequently<br />

print it again, this standard window is updated. This is the default<br />

choice for both Print and Display.<br />

* You can create a separate snapshot window for printing or displaying values.<br />

This is useful if you want to compare values between windows.<br />

* You can print out the values in the command window.<br />

Click on Print or Display to print the values of the specified expression at the<br />

current program location.<br />

Click on Cancel or press the Esc key to close the window without printing or<br />

displaying.<br />

5.2.2 Printing and Displaying from the Source Window<br />

To print and display from the source window:<br />

1. Select the variable or expression by dragging over it with the mouse or<br />

double-clicking on it.<br />

2. Right-click the mouse to display a popup menu.<br />

Version 1.2, March 1993<br />

Copyright o 1993 Thinking Machincs Corporation<br />

(<br />

(

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!