Where does the interpreter look for include libraries?
Include libraries with absolut path (an absolute path starts with a forward slash) are only searched at the specified place. All other include libraries are searched in several directories. This is done according to a list of library directories (a library search path). The directories of the list are checked one after another for the requested include file. As soon as the include file is found the search is stopped and the file is included. The following directories are in the list of library directories: • The directory of the interpreted program. E.g.: When the program “/home/abc/test/pairs.sd7” is interpreted the directory “/home/abc/test” is in the list of library directories. • The directory containing the predefined Seed7 include libraries. This directory is hardcoded in the interpreter (an absolute path like “/directory_where_Seed7_was_installed/seed7/lib”). The hardcoded library directory is determined when the interpreter is compiled. So it only exists when the interpreter wa