Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SYS(2027,....) - What does it do?
Message
From
26/07/1998 05:53:20
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00121326
Message ID:
00121442
Views:
20
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform