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:
00927746
Views:
29
The SYS(3) function returns the number of miliseconds since midnight as a string.
? INT(Seconds()*1000), Sys(3)
It's valid file name but invaliad alias. What error do you get?

>I'm trying to run one form from my old application. This form is based on the class BaseForm and it is failing on the method BaseForm.Load on the line:
>
>
>thisform.ltClass=gctemppath+SYS(3)
>
>    CREATE TABLE (thisform.ltclass) FREE (CLASS C(40))
>
>(Code written by my colleague). SYS(3) returns a string with all numbers.
>
<snip>
>
>I do not understand, why this code worked for 5 or more years, but today doesn't work in my VFP8 environment?
>
>Should I report this problem to my colleagues? (I do not work there anymore, but I'm working on documentation)
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform