Microsoft KB Archive/67886

= VAL Fails When Basic 7.10 NOFLTIN.OBJ Stub File Is Linked =

Article ID: 67886

Article Last Modified on 11/21/2006



This article was previously published under Q67886



SYMPTOMS
Any argument passed to the VAL function makes VAL return zero or incorrect results in a program linked with the NOFLTIN.OBJ file from Basic PDS version 7.10.



STATUS
Microsoft has confirmed this to be a bug in Microsoft Basic Professional System (PDS) version 7.10 for MS-DOS and MS OS/2. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. (This problem does not occur in Basic PDS 7.00.)

The code example below prints an incorrect result for VAL at run time when linked with the Basic 7.10 stub file NOFLTIN.OBJ. ' File name: STUB.BAS d$ = &quot;5&quot; PRINT VAL(D$)  ' Is supposed to print &quot;5&quot;. Compile and link with the following command lines: BC STUB.BAS /O; LINK /NOE STUB.OBJ+NOFLTIN.OBJ;

Additional query words: BasicCom buglist7.10

Keywords: KB67886

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.