PRB: <ExpC3> of PUTFILE() Is Ignored in FoxPro for Macintosh

Last reviewed: June 1, 1996
Article ID: Q111510
The information in this article applies to:
  • Microsoft FoxPro for Macintosh, version 2.5b
  • Microsoft Visual FoxPro for Macintosh, version 3.0b

SYMPTOMS

If you are developing a cross-platform application and you include <expC3> in the PUTFILE() function, it will be ignored in FoxPro for Macintosh.

For example, suppose you run the following code in both FoxPro for Windows and FoxPro for Macintosh:

  ? PUTFILE('Choose a program file', 'test.prg', 'PRG')

In FoxPro for Windows, this code will create a dialog box that displays all files with an extension of .PRG. In FoxPro for Macintosh, the same dialog box will display all files in the current folder without filtering them by extension.

STATUS

This behavior is by design due to the Macintosh standard of not relying on file extensions for operations.

REFERENCES

FoxPro for Macintosh Help file


Additional reference words: VFoxMac 3.00b FoxMac 2.50b
KBCategory: kbprg kbprb
KBSubcategory:


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 1, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.