Include a file: Difference between revisions

Line 342:
=={{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 redStreamreadStream 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}}==
Anonymous user