BUG: Access Violation or R6018 Executing IF StatementLast reviewed: July 13, 1995Article ID: Q114979 |
The information in this article applies to:
SYMPTOMSFor FORTRAN PowerStation 32, an access violation occurs and for FORTRAN PowerStation, runtime error R6018 and an unexpected heap error occur when you execute code where:
RESOLUTIONUse one of the following to work around the problem:
STATUSMicrosoft has confirmed this to be a bug in Microsoft FORTRAN PowerStation, version 1.0a for MS-DOS and version 1.0 for Windows NT. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONTo reproduce the problem, compile and run the following sample code:
Sample CodeC compile options needed: none
CHARACTER*80 A CHARACTER*3 end LOGICAL L end = 'End' L = .FALSE. C1 L = .TRUE. A = 'This format bombs...'//end C2 IF (L) print *, A IF (L) print *, 'This format bombs...'//end C3 IF (L) then C3 print *, 'This format bombs...'//end C3 end if print *, end ENDTo run the program without error:
|
Additional reference words: 1.00 1.00a
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |