Forum Post: RE: Methods in a find

  • Thread starter Thread starter Thomas Mercer-Hursh
  • Start date Start date
Status
Not open for further replies.
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...
 
Status
Not open for further replies.
Back
Top