10-Character Limit for Program or Procedure in FoxPro/MacID: Q108095 2.50b MACINTOSH
The information in this article applies to:
SUMMARYOnly the first 10 characters of a program name or procedure name are considered significant when FoxPro for Macintosh searches for the program or procedure.
MORE INFORMATION
Procedure NamesProcedure names longer than 10 characters are allowed. However, FoxPro will truncate procedure names to 10 characters during its search for the procedure. If a procedure file contains two procedures that have the same 10 characters at the beginning of the procedure name, the procedure that appears first in alphabetical order will be used. The following steps will demonstrate this behavior. 1. From the File menu, choose New, and select Program. Click New. 2. Enter the following commands in the file:
3. Save the file as LONGPROC.PRG.
4. Issue the following commands in the command window:
5. Even though A1234567899876 appeared first in the procedure file,
Program FilesWhen a DO <program name> command is issued on a program with more than 10 characters in the filename and an extension is not specified, FoxPro looks for a 10-character filename and will produce an error. If the program name is enclosed in quotation marks, or a .PRG, .QPR, .SPR, or .MPR extension is added, FoxPro will search for a program name as long as specified. The following steps demonstrate this behavior: 1. From the File menu, choose New, select Program, and then click the New 2. From the File menu, choose Save. Type "ABCDEFGHIJKLMNOP" (without the
3. In the Command window, type the following command:
4. In the Command window, type each of the following commands:
Additional reference words: FoxMac 2.50b capacity limit limitation errmsg
err msg
KBCategory:
KBSubcategory:
|
|
Last Reviewed: May 21, 1998 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |