Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sys(3) does NOT return the legal file name!
Message
 
 
À
26/07/2004 08:19:31
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00927743
Message ID:
00927951
Vues:
22
>To avoid the possibility that gcTempPath is not ending with a backslash, I prefer
>
>thisform.ltClass=ForcePath(SYS(3),gctemppath)
>
>I've seen sys(3) return a sys(2015)-like string under DOS3.3, then saw it return digits only under Novell 3.x, then saw it return a string with charactrers A-P only (16 of them... hex-like), then a combination of digits and characters. Over the years its format was changing a lot.
>
>Just use CodeReferences and weed out the sys(3), replacing it with sys(2015) everywhere. I haven't used sys(3) for years.

Thanks, Dragan, but this is a working code in the production, and I do not work there anymore, so I doubt, it would be changed. Anyway, I found, that I just didn't have directory specified in gcTempPath variable, hence the error. Once I created the directory, the error was gone. I still do not have lots of files, needed to run the application, so I asked my colleague to send them. Hopefully she will send them soon, otherwise I document without running...
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform