project QadFinancials > class BDomain > method ValidPathInfo

function returns logical

Description

validate the input for domain-specific propath details


Parameters


icPathinputcharacter


Internal usage


QadFinancials
method BDomain.ValidateComponent


program code (program1/bdomain.p)

do viCount = 1 to num-entries(icPath) :
   FILE-INFO:FILE-NAME = entry(viCount, icPath).
   if length(right-trim(entry(viCount, icPath)), "CHARACTER":U) <> 0
   then
      if FILE-INFO:FULL-PATHNAME = ?
      then
        /* propath directory not valid */
        return false.
end.

return true.