13.1 Searching for include files

  ---------------------------------

 

      The compiler searches for a file includ in a program whose name is

  defined by 'include' and in quotation marks as follows:

 

      First it attempts to open the file in the current directory. If the

  file is not there, it then attempts to open the file in the directory

  indicated by #includepath. If this does not exist, or the file is not in

  this directory, it attempts to open the file in the directory indicated by

  the command-line switch /ip=path. If this was not specified or the file is

  not in this directory, it attempts to open the file in the directory

  indicated in c--.ini by the command ip=path. If the environment variable

  was not specified or the file is not there, it makes one final attempt to

  open the file in the directory from which the compiler was started.

 

      If the name of the include file is in <> then the file is searched for

  in the inverse order, except that the search is not done in the current

  directory.

 

      For the console version of the compiler, the names of the main module

  and the include files can be more than 8 characters long.