Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SYS(2027,....) - What does it do?
Message
De
26/07/1998 05:53:20
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00121326
Message ID:
00121442
Vues:
19
>It looks like you pass it a file name and it returns the full current path plus the file name. So SYS(2027,'test.txt') will return 'c:\vfp\test.txt' assuming that the current directory is c:\vfp. It doesn't seem that useful because you could just use SET('DEFAULT')+SYS(2003)+'test.txt' and get the same thing. Maybe there's some additional functionality there that I don't see. Also, it works in VFP 6.0, but it's still not documented in the VFP 6.0 help.
>
>In general, I wouldn't use any undocumented functions, especially if there's a pretty easy alternative. You never know if it might disappear in a future version.
>
>>Hi Everybody!
>>
>>I found an undocumented Sys() function in utility.vcx.(filelib class)
>>Does somebody know, what it does?

Then it seems to be an alias to FullPath() function. I've found some undocumented sys() functions back in 2.0 or 2.6, and decided they're probably used internally or are aliases to existing functions. If anyone ever finds a really hidden function which does something useful that can't be achieved otherwise, I'd really be surprised.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform