home *** CD-ROM | disk | FTP | other *** search
/ Programmer's ROM - The Computer Language Library / programmersrom.iso / ada / tools / calc.cm2 < prev    next >
Encoding:
Text File  |  1988-05-03  |  1.4 KB  |  40 lines

  1.  6-Jun-86 12:09:31-MDT,1375;000000000011
  2. Return-Path: <decuac!grebyn!karl@seismo.CSS.GOV>
  3. Received: from seismo.CSS.GOV by SIMTEL20.ARPA with TCP; Fri 6 Jun 86 12:08:07-MDT
  4. Return-Path: <decuac!grebyn!karl>
  5. Received: from decuac.UUCP by seismo.CSS.GOV with UUCP; Fri, 6 Jun 86 13:49:34 EDT
  6. Received: by decuac.DEC.COM (4.12/UUCP-Project/rel-1.0/5-18-86)
  7.     id AA01405; Fri, 6 Jun 86 13:27:03 edt
  8. Received: by grebyn.UUCP (4.12/UUCP-Project/02.16.86)
  9.     id AA03319; Fri, 6 Jun 86 13:22:07 edt
  10. Date: Fri, 6 Jun 86 13:22:07 edt
  11. From: grebyn!karl@seismo.CSS.GOV (Karl A. Nyberg)
  12. Message-Id: <8606061722.AA03319@grebyn.UUCP>
  13. Org.: Grebyn Corporation
  14. Phone: (703)-281-2194
  15. To: rconn@simtel20.arpa
  16. Subject: calc under VADS
  17.  
  18. Rick,
  19.  
  20. Here are the diffs I had to make to run calc under vads on a vax running
  21. ultrix 1.1.  Seems to run just fine.
  22.  
  23. 1) change integer_io to int_io, and instantiate int_io.
  24.  
  25. 2) change the use of REG within its declaration (I don't know if that's a
  26. VADS bug or if it's for real, it reads to me like the program is in error) -
  27. the VADS reference is:
  28.  
  29.     error: RM 8.3(22): identifier cannot be used during its own
  30.                declaration 
  31.  
  32. <    REG : array (1..26) of INTEGER := (1..REG'LAST => 0);
  33. ---
  34. >     REG : array (1..26) of INTEGER := (others => 0);    
  35.  
  36. 3) get rid of the with TERMINAL_IO; use TERMINAL_IO; it doesn't appear to be
  37. used anywhere anyway.
  38.  
  39. -- Karl --
  40.