Include a file: Difference between revisions

Added Pike implementation
(Added Pike implementation)
Line 1,517:
The function '[http://software-lab.de/doc/refL.html#load load]' is used for recursively executing the contents of files.
<lang PicoLisp>(load "file1.l" "file2.l" "file3.l")</lang>
=={{header|Pike}}==
Including verbatim can be done with the "#include" preprocessor
directive. This is usually only done for including constants or
similar while code is handled via the module system.
 
Where code has to be included and compiled dynamically at run-time the
compile() and compile_file() functions can be used.
 
<lang Pike>#include "foo.txt"</lang>
 
=={{header|PL/I}}==
Anonymous user