PSS ID Number: 147764
Article Last Modified on 11/2/1999
The information in this article applies to:
- Microsoft Fortran PowerStation for Windows 95 and Windows NT 4.0
This article was previously published under Q147764
SYMPTOMS
The properties page dialog incorrectly reports the wrong character length information for assumed-size character array elements in the debugger.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Using Developer Studio, build the following sample code. On the Build menu, click Debug, and then click Step Into to begin the debugging process. Step into the subroutine sub() and go to the return statement. In the locals window, expand the assumed-size array "i" by clicking the nesting symbol (+). Next, highlight the first array element, and bring up the properties page dialog by pressing ALT+ENTER, or click Properties on the Edit menu. The array element information in the type field is incorrrectly reported as CHARACTER(4) even though the assumed-size array element length is actually CHARACTER(10).
Sample Code
C Compile options needed: /Zi character(len=10),dimension(5)::h h = 'aaaaaaaaaa' call sub(h) end subroutine sub(i) character(len=*),dimension(*)::i i(1) = 'bbbbbbbbbb' return end subroutine
Additional query words: 4.00
Keywords: kbLangFortran KB147764
Technology: kbAudDeveloper kbFORTRANPower400NT kbFortranSearch kbZNotKeyword8