"Illegal Function Call" Using Coprocessor in Basic 7.10 (66560)
This article was previously published under Q66560
SYMPTOMS
The following two program examples give an "Illegal Function Call"
error when run as a .EXE program using a math coprocessor; however,
the programs work correctly in the QBX.EXE environment or with the
coprocessor disabled.
WORKAROUND
To work around this problem, do one of the following:
- Break the complex equation into smaller parts that are evaluated
separately.
-or-
- Turn off use of the coprocessor with SET NO87="message" at the MS-DOS
prompt.
-or-
- Compile using the alternate math (/FPa) option.
STATUS
Microsoft has confirmed this to be a bug in Microsoft Basic
Professional Development System (PDS) versions 7.00 and 7.10 for
MS-DOS and MS OS/2. We are researching this problem and will post new
information here as it becomes available.
Modification Type: |
Minor |
Last Reviewed: |
1/9/2003 |
Keywords: |
KB66560 |
|