T
Thomas Mercer-Hursh
Guest
One of the methods does a for each in a temp-table method public character SourceDirectoryFromPath ( ipchFullPath as character ): define variable mchSourceDirectory as character no-undo. define buffer bfttPropath for ttPropath. for each bfttPropath by bfttPropath.inOrder: if substring(ipchFullPath, 1, length(bfttPropath.chPath)) = bfttPropath.chPath then leave. end. mchSourceDirectory = bfttPropath.chPath. return mchSourceDirectory. end method.
Continue reading...
Continue reading...