Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What does this mean?
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01146065
Message ID:
01146114
Views:
20
>>>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?
>
>Should not it be Path program? <g>


:o)))
Of course it should be. But both are reseved words so... :-))))
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform