The information in this article applies to:
SYMPTOMSAn attempt to compile an application developed in Microsoft FORTRAN fails with the following error message: With Microsoft FORTRAN PowerStation 32, version 4.0, this generates:
CAUSEA FORTRAN application cannot directly manipulate complex number variables. RESOLUTIONUse the CMPLX intrinsic function to manipulate the variable, as follows:
MORE INFORMATIONOn Page 24, the Microsoft FORTRAN "Language Reference and Mixed-Language Programmer's Guide" for version 4.1 describes the complex data types as follows:
For example, the complex number (7, 3.2) represents the number 7.0+3.2i.
The following code example demonstrates this error message. Sample CodeC Compiler options required: None
Additional query words: 1.00 4.00 4.01 4.10 5.00 5.10
Keywords : kberrmsg kbFortranPS kbLangFortran |
Last Reviewed: November 1, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |