FIX: F6511 Caused by Repeat Factors Used with NAMELISTLast reviewed: September 11, 1997Article ID: Q49895 |
5.00 5.10 | 5.00 5.10
MS-DOS | OS/2kbtool kbfixlist kbbuglist kberrmsg The information in this article applies to:
SYMPTOMSPrograms that are compiled with the Microsoft FORTRAN Compiler version 5.0 or 5.1, that use the VAX extension NAMELIST, and read in input that contains repeat factors, may generate the following error:
F6511: variable name not found RESOLUTIONAvoid the use of repeat factors when using the VAX extension NAMELIST.
STATUSMicrosoft has confirmed this to be a problem in FORTRAN versions 5.0 and 5.1. This problem was corrected in FORTRAN PowerStation.
MORE INFORMATIONWhen the following input is used
&BASICD XYZW(1,1) = 13, 9*0, 73, 9*0 WFTST(1,1) = 1.0, 9*0, 1.0, 9*0 /the following code generates run-time error "F6511: READ(CON) - variable name not found":
Sample Code
REAL*4 XYZW(2,10), WFTST(2,10) NAMELIST /BASICD/ XYZW, WFTST READ (*, BASICD) ENDAs a workaround, do not use the repeat factors; for example, the following input works properly:
&BASICD XYZW(1,1) = 13,0,0,0,0,0,0,0,0,0,73,0,0,0,0,0,0,0,0,0 WFTST(1,1) = 1.0,0,0,0,0,0,0,0,0,0,1.0,0,0,0,0,0,0,0,0,0 /Also, it the last data item in the array is not a repeat factor, repeat factors can be used.
|
Additional reference words: 5.00 5.10 replication factor
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |