Microsoft KB Archive/109476

= BUG: FILE Returns Erroneous Results =

Article ID: 109476

Article Last Modified on 3/3/2005

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0b for Macintosh
 * Microsoft FoxPro 2.5b for Macintosh

-



This article was previously published under Q109476



SYMPTOMS
When you are using the FILE function in FoxPro for Macintosh and the length of the filename is greater than 27 characters and contains no periods, the return value is FALSE (.F.) even though the file exists.



RESOLUTION
Ensure that filenames are less than 27 characters or contains a period somewhere in the filename before checking for the file's existence.



STATUS
Microsoft has confirmed this to be a problem in FoxPro versions 2.5b and 3.0b for the Macintosh.



Steps to Reproduce Behavior
 Give a file a name that is greater than 27 characters. Make sure there aren't any periods in the filename. In the Command Window, type the following:

? FILE(" ")



A .F. value will be returned.

Additional query words: vFoxMac FoxMac buglist2.50b 3.00b bugl

Keywords: kbbug kbpending KB109476

-

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

© Microsoft Corporation. All rights reserved.