Include a file: Difference between revisions

added Ol
No edit summary
(added Ol)
Line 1,135:
In order to load a package with name pack :
<lang Oforth>import: pack</lang>
 
=={{header|Ol}}==
Ol has a module system, so usually there is no need of a textual inclusion of a text file.
<lang scheme>
(import (otus random!))
</lang>
 
You can do a textual inclusion from the global scope using REPL command ",load" (not a part of core language itself, but a REPL extension).
<lang scheme>
,load "otus/random!.scm"
</lang>
 
=={{header|ooRexx}}==