Include a file: Difference between revisions

Content added Content deleted
(Added Emacs Lisp)
Line 761: Line 761:
<lang runbasic>run SomeProgram.bas",#include ' this gives it a handle of #include
<lang runbasic>run SomeProgram.bas",#include ' this gives it a handle of #include
render #include ' render will RUN the program with handle #include</lang>
render #include ' render will RUN the program with handle #include</lang>

=={{header|Rust}}==
The compiler will include either a 'test.rs' or a 'test/mod.rs' (if the first one doesn't exist) file.
<lang rust>mod test

fn main() {
test::some_function();
}</lang>


=={{header|Seed7}}==
=={{header|Seed7}}==