Anonymous user
Include a file: Difference between revisions
→{{header|Tcl}}
(→{{header|Lua}}: add m4) |
|||
Line 339:
All following include directives don't need a $ to introduce them.
<lang seed7> include "float.s7i";</lang>
=={{header|Smalltalk}}==
there is no such thing as source-file inclusion in Smalltalk. However, in a REPL or anywhere in code, source code can be loaded with:
<lang smalltalk>aFilename asFilename redStream fileIn</lang>
or:
<lang smalltalk>Smalltalk fileIn: aFilename</lang>
In Smalltalk/X, which supports binary code loading, aFilename may either be sourcecode or a dll containing a precompiled class library.
=={{header|Tcl}}==
|