Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What does this mean?
Message
 
To
16/08/2006 12:57:16
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01146065
Message ID:
01146074
Views:
18
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform