Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting Printer Properties Beta Testers Needed
Message
From
19/09/2005 16:17:43
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01050441
Message ID:
01051013
Views:
15
>>>>>>SYS(2015) is not safe either, SUBSTR(SYS(2015)3) is safe AFAIK.
>>>>>
>>>>>Why?
>>>>
>>>>Because the help says so <g>
>>>>
>>>>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.
>>>
>>>Bhavbhuti,
>>>the help says so
>>>SYS(3) may return a non-unique name when issued successively on a fast computer.
>>>
>>>That's all.
>>>Where you read in Help
>>>Use SUBSTR(SYS(2015), 3, 10) to create unique, legal eight character file name?
>>><snip>
>>
>>This is from help about SYS(3) in VFP8, so I guess they fixed something in VFP9 since this is no longer in the VFP9 help file.
>
>Yes Tore,
>I read VFP 9 Help, while the version up is 'VFP 9'.
>
>Now i read VFP 8 Help. There is the rest of missing text in VFP 9 help.

As I just wrote to Sergey, I guess they have changed something in VFP9 to make the extra substr() expression redundant. But you know how it is with old habits. :-)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform