FIX: F4201 on Entry with Attribute [VALUE]Last reviewed: September 16, 1997Article ID: Q106530 |
1.00 1.00a 4.00 4.01 4.10 5.00 5.10 | 4.10 5.00 5.10 | 1.00
MS-DOS | OS/2 | WINDOWS NTkbprg kbfixlist kberrmsg The information in this article applies to:
SYMPTOMSWhen a subroutine or an external function with entry points has an argument passed by value, the compiler generates the following warning message for every ENTRY statement in the code:
warning F4201: ENTRY : formal argument : attribute VALUE : mismatch RESOLUTIONThis warning message can be ignored, provided that there is no other problem with the ENTRY statements.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was fixed in FORTRAN PowerStation 32, version 4.0.
MORE INFORMATIONThe following sample code produces the F4201 warning message on compilation, but will properly execute to yield correct results:
15 35 63 Sample CodeC No compiler options required
subroutine x(i) integer i[value] print *, i*3 entry y(i) print *, i*7 end program test integer j j = 5 call x(j) j = 9 call y(j) end |
Additional reference words: 1.00 1.00a 5.10
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |