Include a file: Difference between revisions

m
Oops, moved Go entry into correct alphabetical order.
(Added Go)
m (Oops, moved Go entry into correct alphabetical order.)
Line 737:
 
<lang gnuplot>call "filename.gnuplot" 123 456 "arg3"</lang>
 
=={{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.
<lang visualfoxpro>#include "inkey.ch"</lang>
 
=={{header|Go}}==
Line 776 ⟶ 772:
Hello from main2.go
</pre>
 
=={{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.
<lang visualfoxpro>#include "inkey.ch"</lang>
 
=={{header|Haskell}}==
9,490

edits