Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sys(3) question
Message
From
14/08/2006 10:50:29
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01145313
Message ID:
01145314
Views:
15
>does the sys(3) function always return a legal filename with a length of 8 characters or can it return fewer than 8?

I think I read somewhere that, depending on the exact date, it can return a name that starts with a digit, making it unsuitable for some purposes.

You might consider sys(2015) as an alternative. That one returns 10 characters, but I am not so sure about whether it may start with digits, or not. I think it is safer in the sense that sys(3) might return the same name twice, if it is called in rapid succession (twice in the same milisecond or so).
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