Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What does this mean?
Message
 
À
16/08/2006 12:57:16
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01146065
Message ID:
01146074
Vues:
17
>I came across the following code in a COM example from Rick Strahl.
>
>do path with "DATA"
>
>Can someone tell me what this line does? It seems to suggest that there is a PRG file named 'path.prg' that is supposed to append 'data' to the path but if so it wasn't included in the sample.
>
>Thanks

I don't know what this means, but if you are right it must be something like:
PROCEDURE Data(lcData)
  LOCAL lcCurrentPath
  lcCurrentPath = SET([PATH])
  IF NOT UPPER(lcData) $ UPPER(lcCurrentPath)
     lcCurrentPath = lcCurrentPath + [;] + lcData
     SET PATH TO (lcCurrentPath)
  ENDIF
RETURN
Can you post the link where is this example?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform