home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / pascal / 6751 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  1013 b 

  1. From: wayne@hpfcso.FC.HP.COM (Wayne Covington)
  2. Date: Wed, 18 Nov 1992 18:49:43 GMT
  3. Subject: Re: trying to use ioresult in HP-UX Pascal...
  4. Message-ID: <9110034@hpfcso.FC.HP.COM>
  5. Organization: Hewlett-Packard, Fort Collins, CO, USA
  6. Path: sparky!uunet!wupost!sdd.hp.com!hpscit.sc.hp.com!scd.hp.com!hpscdm!hplextra!hpfcso!wayne
  7. Newsgroups: comp.lang.pascal
  8. References: <HEMSTREE.92Nov17060426@lamar.lamar.acns.colostate.edu>
  9. Lines: 22
  10.  
  11. hemstree@lamar.acns.colostate.edu (Charles Hemstreet) writes in part:
  12.  
  13. > I am using the following program out of the HP manual and I can't seem
  14. > to get it to work...
  15.  
  16. > [ sample program trying to use ioresult in HP Pascal deleted ]
  17.  
  18. > How do I enable this language extension?
  19.  
  20. Include the following declaration:
  21.  
  22.    var ioresult['asm_ioresult'] : integer;
  23.  
  24. Also include the compiler option:
  25.  
  26.     $STANDARD_LEVEL 'HP_MODCAL'$  (if you're using HP-UX release 6.0 or later)
  27.  
  28.  or $SYSPROG ON$                  (if you have a pre-6.0 release)
  29.  
  30. to enable try/recover/escapecode.
  31.  
  32. Wayne
  33.