home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / fortran / 3446 < prev    next >
Encoding:
Text File  |  1992-09-07  |  3.5 KB  |  99 lines

  1. Newsgroups: comp.lang.fortran
  2. Path: sparky!uunet!usc!rpi!batcomputer!msiadmin.cit.cornell.edu!bai
  3. From: bai@msiadmin.cit.cornell.edu (Dov Bai-MSI Visitor)
  4. Subject: Re: Robustness of MS Fortran 5.x & Vax extensions?
  5. Message-ID: <1992Sep5.121959.2311@tc.cornell.edu>
  6. Sender: news@tc.cornell.edu
  7. Nntp-Posting-Host: msiadmin.cit.cornell.edu
  8. Organization: /usr/local/lib/news/organization
  9. References: <Bu1CF5.HqL@news.cso.uiuc.edu>
  10. Date: Sat, 5 Sep 1992 12:19:59 GMT
  11. Lines: 86
  12.  
  13. In article <Bu1CF5.HqL@news.cso.uiuc.edu> btbg1194@uxa.cso.uiuc.edu (Bradley T Banko) writes:
  14. >I am starting on a project to convert some several thousand line 
  15. >RSX11/VMS Vax Fortran programs to run on a PC, and I am planning to
  16. >use MS Fortran 5.1.  I would  appreciate comments about MSF 5.x's
  17. >robustness in dealing with Vax code... including special types like
  18. >"BYTE" and out of order DATA/COMMON statements.
  19. >
  20. >Any comments are welcome.  Thanks.
  21. >
  22. >Brad Banko
  23. >b-banko@uiuc.edu
  24. >
  25. >
  26. >-- 
  27. >Brad Banko;  Dept of Physics;  U of Illinois;  b-banko@uiuc.edu, KB8CNE
  28. >=========================================================================
  29. >    Tatiana Gutsu for President!
  30.  
  31.  
  32. Here is the list of MS-FORTRAN 5.0 VAX and IBM extensions. This is
  33. from my manual:
  34.  
  35. Microsoft Fortran includes many (but not all) VAX extensions, which
  36. are listed below:
  37.  
  38. * 31 character names
  39. * ACCESS selector 'APPEND' in the OPEN statements
  40. * allowing integer arrays to contain FORMAT statements
  41. * BLOCKSIZE and NML I/O keywords
  42. * Debug comment lines
  43. * DO statements without specified labels
  44. * DO WHILE statement
  45. * END DO statement
  46. * EQUIVALENCE of character and noncharacter items
  47. * EQUIVALENCE to a multi-dimensioned array with only one subscript
  48. * exponentiation of REAL and COMPLEX statements
  49. * IMPLICIT NONE
  50. * INCLUDE compiler directive
  51. * Initialization on the declaration line
  52. * In-line comments
  53. * Length specification within the FUNCTION statement
  54. * Length specifications within type declarations
  55. * Mixing of character and noncharacter items in COMMON statements
  56. * Noninteger alternate return values
  57. * Noninteger array subscripts
  58. * Numeric operands for .AND., .OR. etc.
  59. * Specified common-block variables in DATA statements outside a BLOCK
  60.   DATA subroutine
  61. * STRUCTURE, UNION, MAP statements
  62. * UP to 99 continuation lines
  63. * Use of dollar sign ($) in names
  64. *.XOR. operator
  65.  
  66.  
  67. MS-Fortran includes all IBM SAA extensions which are listed below:
  68.  
  69. * 31-character names
  70. * Bit-manipulation intrinsic
  71. * Case-insensitive source
  72. * COMMON allows character and noncharacted in same block
  73. * CONJG, HFIX and IMAG intrinsic functions
  74. * Data initialization in type statements
  75. * EQUIVALENCE allows association of character and noncharacter
  76. * Functions IOR, IAND, NOT, IEOR, ISHFT, BTEST, IBTEST, and IBCLR
  77. * IMPLICIT NONE
  78. * INCLUDE compiler directive
  79. * INTEGER*2, COMPLEX*16, and LOGICAL*1 data types
  80. * optional length specifications in INTEGER, REAL, COMPLEX, and LOGICAL
  81.   type statements
  82. * Use of underscore (_) in names
  83. * Z edit descriptor
  84.  
  85. ----------------------------- end list ------------------------
  86.  
  87. I have been working with MS-FORTRAN 5.0 for few years and has
  88. been quite satisfied. With the HUGE memory model you can have 
  89. arrays which are bigger than 64K. I have been working with it 
  90. under OS/2 (it works under both MS-DOS and OS/2) on a large
  91. fluid dynamics code. 
  92.  
  93. Under MS-DOS you have of course the 640 limit, but under OS/2
  94. you can address at least 16MB ( depends on the version) 
  95.  
  96. The main problem with the compiler is that it is only a 16-bit
  97. and therefore is much slower than 32-bit compilers. 
  98.  
  99.