PRB: FoxPro for Macintosh Allows Periods in FilenamesLast reviewed: June 3, 1996Article ID: Q110536 |
The information in this article applies to:
SYMPTOMSFoxPro for Macintosh allows periods to be used in filenames, whereas FoxPro for MS-DOS and FoxPro for Windows do not. Using periods in filenames may cause unforeseen problems in FoxPro for Macintosh because FoxPro is an extension-based language. For example, FoxPro defines a default extension for each file based upon the manner in which it was created. This feature allows FoxPro to give several objects the same name without overwriting different objects with that same name. Using periods in the filename, however, overrides the default file extension assigned by FoxPro. NOTE: This behavior does not occur under Visual FoxPro for Macintosh.
RESOLUTIONTo avoid problems, do not use periods in filenames in FoxPro for Macintosh.
STATUSThis behavior is by design. However, this feature is under review and will be considered for revision in a future release.
MORE INFORMATIONFor a comprehensive list of FoxPro file extensions, type the following command in the Command window:
HELP file extensions Steps to Reproduce ProblemThe following is one example of the problems that may occur as the result of using periods in filenames:
WAIT WINDOW "Hello" The error message that results is "File 1.2.3 does not exist." Similar errors will occur when you are trying to run programs generated from screens named "2.3.4" or menus named "3.4.5".
|
Additional reference words: FoxMac 2.50b errmsg err msg
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |