Dump Command on FORTRAN Arrays Gives Syntax Error in CV 2.x

ID Number: Q42942

2.20 2.30 2.35 | 2.20 2.30 2.35

MS-DOS | OS/2

buglist2.20 buglist2.30 buglist2.35 fixlist3.00

Summary:

Microsoft CodeView versions 2.2, 2.3, and 2.35 give a "Syntax error"

when attempting to use the Dump command on a FORTRAN array of

dimension greater than 1.

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

array element fails.

Microsoft has confirmed this to be a problem in CodeView versions 2.2,

2.3, and 2.35. This problem was corrected in CodeView version 3.0.

More Information:

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 resembles the following:

DI j(1(2)3)

Any permutation of the parenthesis around the index is sufficient.

Additional reference words: 2.20 2.30 3.00