>>>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.