Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SYS(3) & VARIABLES
Message
From
10/07/2001 11:57:29
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
10/07/2001 11:52:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00528678
Message ID:
00528685
Views:
15
>OK thanks.

From the manual:

"SYS(3) may return a non-unique name when issued successionally on a fast computer. Use SUBSTR(SYS(2015), 3, 10) to create unique, legal eight character file name."

"The name that SYS(2015) returns is created from the system date and system time. Calling SYS(2015) more than once during the same millisecond interval will return a unique character string."

Additional notes:
  • sys(2015) is 10 characters instead of 8. This may affect some of your procedures.
  • sys(2015) always starts with a character. Not so sys(3).

    Hilmar.
    Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
  • Previous
    Next
    Reply
    Map
    View

    Click here to load this message in the networking platform