>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