Include a file: Difference between revisions

Content added Content deleted
Line 314: Line 314:
=={{header|Harbour}}==
=={{header|Harbour}}==
The inclusion of other files is achieved via a preprocessor. The <code>#include</code> preprocessor directive tells the compiler to incorporate code from the included file. This is normally used near the top of a source file and is usually used to tell the compiler to include header files for the function libraries.
The inclusion of other files is achieved via a preprocessor. The <code>#include</code> preprocessor directive tells the compiler to incorporate code from the included file. This is normally used near the top of a source file and is usually used to tell the compiler to include header files for the function libraries.
<lang harbour> #include "inkey.ch" </lang>
<lang visualfoxpro>#include "inkey.ch"</lang>


=={{header|Haskell}}==
=={{header|Haskell}}==