PRB: SYS(3) Returns Duplicate FilenamesID: Q114435 The information in this article applies to:
SYMPTOMSThe purpose of the SYS(3) function is to return a unique filename when it is called. Under certain circumstances, duplicate names may be returned.
CAUSEThis behavior occurs with some processors that run at high speeds.
RESOLUTIONTo avoid this problem, increase the time between calls of the SYS(3) function. For example, add the following line:
This command forces FoxPro to wait for .001 seconds before issuing the next
command.
MORE INFORMATION
Steps to Reproduce ProblemCreate and run the following program:
Note that the Total number of records (the first number printed) may differ
from the number of unique records (the second number printed).
Additional reference words: FoxDos FoxWin 2.50 2.50a 2.50b 2.60 repeat identical same duplicate KBCategory: kbprg kbprb KBSubcategory: FxprgGeneral |
|
Last Reviewed: June 27, 1995 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |