home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / hp / 8655 < prev    next >
Encoding:
Text File  |  1992-07-28  |  1.7 KB  |  61 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!giaeb!simon
  3. From: simon@giaec.cc.monash.edu.au (simon shields)
  4. Subject: Re: adjustable arrays 720's f77
  5. Message-ID: <simon.712368291@giaeb>
  6. Sender: news@monu6.cc.monash.edu.au (Usenet system)
  7. Organization: Monash University, Melb., Australia.
  8. References: <simon.712287118@giaeb> <7371177@hpfcso.FC.HP.COM>
  9. Date: Wed, 29 Jul 1992 00:04:51 GMT
  10. Lines: 49
  11.  
  12. SYSTEM:
  13. HP-UX giaec A.08.07 A 9000/720 2001133857
  14. Thanks Allan
  15.  
  16. I'll make those changes you recommended and let you know how I go.
  17. You said that dynamic arrays will be available in a future version 
  18.  
  19. >At 8.07, the S700 compiler does not support this feature.  However, they
  20. >have been implemented and will ship with the next S700 release.
  21.  
  22. of the s700 operating system, what version will that be ?
  23.  
  24. QTN: Should the compiler on the 720's know the 
  25. $STANDARD_LEVEL SYSTEM
  26. compiler option ? I tried using it and get ...
  27.  
  28. I tried the example in the fortran manual HP9000 600, 800 we have
  29. for dynamic arrays .
  30.  
  31. $STANDARD_LEVEL SYSTEM
  32.       program main
  33.       i=10
  34.       call routine (i)
  35.       end
  36.  
  37.       subroutine routine (i)
  38.       integer dyn_array(i)
  39.       dyn_array(i)=i
  40.       end
  41.  
  42. $STANDARD_LEVEL SYSTEM - is a compiler option page 7-71 
  43.     "indicates Fortran 77 plus additional system dependent features
  44.     added to the language."
  45.  
  46. i get
  47. using f77 eg.f
  48. eg.f:
  49. Warning on line 1 of eg.f: unknown inline compiler option
  50.    MAIN main:
  51.    routine:
  52. Declaration error on/above line 10 of eg.f;  for dyn_array; adjustable dimension on non-argument
  53.  
  54. f77: Error.  No assembly.
  55. f77: Errors detected, no link
  56.  
  57. Are there fortran manuals for the 720's ? We don't have one, all we
  58. have is a fortran manual HP9000 600, 800 series.
  59.  
  60.  
  61.