KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q42942: Dump Command on Arrays in FORTRAN Gives Syntax Error

Article: Q42942
Product(s): See article
Version(s): 1.10 2.20 | 2.20
Operating System(s): MS-DOS | OS/2
Keyword(s): ENDUSER | H_FORTRAN buglist2.20 buglist2.30 | mspl13_basic
Last Modified: 21-AUG-1989

Microsoft CodeView Versions 2.20 and 2.30 gives a "Syntax error" when
attempting to use the Dump command on an array of dimension greater
than 1.

For example, issuing the DI i(1,3) command to dump the contents of an
array element fails.

To work around this problem use one of the following methods:

1. Use the "?" command, as follows:

      ? i(1,3)

2. Enclose each dimension index within parentheses and omit the comma,
   as follows:

      DI i((1)(3))

   DI i(1(3)) and DI i((1)3) are also acceptable.

   A three dimensional example would look like the following:

      DI j(1(2)3)

   Any permutation of the parenthesis around the index is sufficient.

Microsoft has confirmed this to be a problem in Versions 2.20 and
2.30. We are researching this problem and will post new information as
it becomes available.

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.