home *** CD-ROM | disk | FTP | other *** search
/ ftp.ee.pdx.edu / 2014.02.ftp.ee.pdx.edu.tar / ftp.ee.pdx.edu / pub / users / Harry / compilers / p11 / tst / error3.givenOutput1 < prev    next >
Text File  |  2006-03-05  |  483b  |  14 lines

  1. rm -f tst/error3.s
  2. rm -f tst/error3
  3. java Main < tst/error3.pcat 1> tst/error3.s
  4. Assembling...
  5. Beginning execution...
  6. This program is for testing the read-failed error message.
  7.   First, it will ask for an integer, then print it.
  8.   Second, it will ask for a real, then print it.
  9.   Please make an error entering one or the other to
  10.   verify that an error message is produced and that the
  11.   program subsequently aborts.
  12. Please enter an integer...
  13. Execution Error: Read statement failed!
  14.