>>>>>>>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. :-)
Tore,
I agree with your opinion ;o)
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst