Jump to content

Include a file: Difference between revisions

added ocaml
(added ocaml)
Line 138:
=={{header|Modula-2}}==
<lang modula2>IMPORT InOut, NumConv, Strings;</lang>
 
=={{header|OCaml}}==
 
In script mode and in the interactive loop (the toplevel) we can use:
<lang ocaml>#use "some_file.ml"</lang>
 
In compile mode (compiled to bytecode or compiled to native code) we can use:
<lang ocaml>include Name_of_a_module</lang>
 
=={{header|OpenEdge/Progress}}==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.