help file search order

When searching for a help file, directories are searched in the following order:

  1. Current directory

  2. default directories

    1. Directory specified by environment variable LIBCOP, if it exists

    2. Directory specified by environment variable COP, if it exists

    3. Directory \COP