The information in this article applies to:
SYMPTOMSThe code compiles, links, and runs with no errors, but some of the run-time subroutines do not appear to function correctly. Unexpected results are returned. CAUSEThe subroutine may not have an interface statement or a parameter used in the subroutine may not be defined. RESOLUTIONInclude FLIB.FI prior to the PROGRAM statement or as the first line in any file that uses these subroutines or functions. Also, include FLIB.FD inside the main program or any subroutine or function that uses the run- time subroutines. MORE INFORMATION
The following code sample compiles, links, and runs without generating
an error, but the array is not sorted and the random seed is initialized
with a zero. In the case of the SORTQQ routine, the last argument is a
parameter defined in FLIB.FD. Because that file is not included, the
variable is typed as a REAL and initialized to zero. SORTQQ fails to sort
because the size of the data items to be sorted is zero.
If the variables passed to these routines are type compatible and indicate correct values, the program may run correctly. To solve the problem in the sample below, change both include lines from comments into executable lines. Additionally, there may be several run-time subroutines that use parameters defined in the FLIB.FD file, but the documentation fails to indicate that you must include FLIB.FD. The following is a partial list of those subroutines:
Sample Code
Additional query words: 1.00 1.00a 4.00 fail bomb incorrect bad runtime
Keywords : kbFortranPS kbLangFortran |
Last Reviewed: November 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |