Include a file: Difference between revisions

Add Seed7 example
(Added BBC BASIC)
(Add Seed7 example)
Line 315:
<lang runbasic>run SomeProgram.bas",#include ' this gives it a handle of #include
render #include ' render will RUN the program with handle #include</lang>
 
=={{header|Seed7}}==
The Seed7 language is defined in the include file seed7_05.s7i.
Therefore seed7_05.s7i must be included before other language features can be used (only comments can be used before).
The first include directive (the one which includes seed7_05.s7i) is special and it must be introduced with the $ character.
<lang seed7>$ include "seed7_05.s7i";</lang>
All following include directives don't need a $ to introduce them.
<lang seed7> include "float.s7i";</lang>
 
=={{header|Tcl}}==