Microsoft KB Archive/110536: Difference between revisions
(importing KB archive) |
m (Text replacement - """ to """) |
||
Line 39: | Line 39: | ||
1. Create a new program. 2. Issue the following command in the Command window: | 1. Create a new program. 2. Issue the following command in the Command window: | ||
<pre> WAIT WINDOW | <pre> WAIT WINDOW "Hello" | ||
</pre> | </pre> | ||
3. Save the program with the name 1.2.3. 4. Run the 1.2.3 program. | 3. Save the program with the name 1.2.3. 4. Run the 1.2.3 program. | ||
The error message that results is | 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 KBCategory: kbprg kbprb KBSubcategory: | Additional reference words: FoxMac 2.50b errmsg err msg KBCategory: kbprg kbprb KBSubcategory: |
Latest revision as of 10:54, 20 July 2020
PRB: FoxPro for Macintosh Allows Periods in FilenamesID: Q110536 2.50b 3.00b MACINTOSH kbprg kbprb 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: 1. Create a new program. 2. Issue the following command in the Command window: WAIT WINDOW "Hello" 3. Save the program with the name 1.2.3. 4. Run the 1.2.3 program. 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 KBCategory: kbprg kbprb KBSubcategory: Keywords : kberrmsg kbprb kbprg Version : 2.50b 3.00b Platform : MACINTOSH |
Last Reviewed: May 21, 1998 |