Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sys(3) does NOT return the legal file name!
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00927743
Message ID:
00927748
Views:
21
>The SYS(3) function returns the number of miliseconds since midnight as a string.
? INT(Seconds()*1000), Sys(3)
Whar error do you get?
>
I am getting "Invalid path or filename", which is not a surprise according to your explanatation. What surprises me, that this code was 5 or more years in production and we never met this problem before. It is weird, if it always behaved this way, the error should have been discovered years ago...

I vaguely remember, that I've discovered the same problem in my other colleague's code and we fixed it there. But why this piece of code, which was executed every day 1000s of times, was never failing before - it is a mystery for me...

Anyway, I guess, I have to write a letter to my former manager (I am also thinking, should I include my colleague, who is the owner of these classes, in this memo?).

Thanks again.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform