Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sco sys(2027) this is a different ?
Message
De
11/12/2003 03:13:05
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
10/12/2003 19:17:51
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00857927
Message ID:
00857995
Vues:
22
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform