Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sco sys(2027) this is a different ?
Message
From
11/12/2003 03:13:05
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
10/12/2003 19:17:51
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00857927
Message ID:
00857995
Views:
21
>Hi,
>I working on a convertion to Recital from SCO Foxpro. Don't ask why! Anyway, there is a statment as in
>myvar=sys(2027,string)
>
>Does anyone know what this does?
>
>John

From Fox2.x help :

+---------------------------------+
¦ SYS(2027) Map MS-DOS shorthand ¦
+---------------------------------+
SYS(2027,< expC >)

-----------------------------------
Returns a path with the shorthand notation for the Macintosh.
Return value - Character
-----------------------------------

In FoxPro for Macintosh, functions (such as CURDIR() and DBF()) that return paths use MS-DOS shorthand notation for the paths for compatibility with FoxPro for MS-DOS and FoxPro for Windows. You can use SYS(2027) with these functions to return their results using Macintosh shorthand notation.

? CURDIR()
? SYS(2027,CURDIR())

See SET PATH for more information about platform specific shorthand notation.

-----------------------------------

See Also: SYS() Functions Overview, SET PATH, SET VOLUME

-----------------------------------

*****************************************************
Still exists in VFP. Try it with directories containing ..\.
In VFP FulllPath() might be used instead but not exactly.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform