Microsoft KB Archive/106724: Difference between revisions
From BetaArchive Wiki
(importing KB archive) |
m (Text replacement - """ to """) |
||
Line 65: | Line 65: | ||
<ol> | <ol> | ||
<li>Build the sample code with the project in debug mode.</li> | <li>Build the sample code with the project in debug mode.</li> | ||
<li>Set a breakpoint on the line with | <li>Set a breakpoint on the line with "a = c+1.2" and GO (press F5).</li> | ||
<li>Set a watch on a and c. The value for c will be: | <li>Set a watch on a and c. The value for c will be: | ||
<div class="errormessage"> | <div class="errormessage"> |
Latest revision as of 10:10, 20 July 2020
Article ID: 106724
Article Last Modified on 10/2/2003
APPLIES TO
- Microsoft FORTRAN PowerStation 1.0 Standard Edition
- Microsoft Fortran PowerStation 1.0a for MS-DOS
This article was previously published under Q106724
SUMMARY
The PowerStation debugger displays the following message
in the Watch window when a formal argument of a subroutine or function cannot be displayed. A formal argument can be viewed only if the current point of execution is within the subprogram accepting the formal argument. Once the first line of the subprogram has been executed, the formal arguments display correctly in the Watch window.
This problem does not occur with FORTRAN PowerStation 32.
MORE INFORMATION
The EE0029 error can be generated by following these steps:
- Build the sample code with the project in debug mode.
- Set a breakpoint on the line with "a = c+1.2" and GO (press F5).
- Set a watch on a and c. The value for c will be:
- Single step once and the value of c will now be displayed.
Sample Code
Compile options required: /Zi real*4 b b = 2. call sub (b) end subroutine sub (c) integer*4 a real*4 c a = c+1.2 print*, a return end
Additional query words: kbinf 1.00 nofpsnt
Keywords: KB106724