Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sys(3) does NOT return the legal file name!
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00927743
Message ID:
00927746
Vues:
30
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform