Jump to content

Include a file: Difference between revisions

(julia)
Line 398:
Julia's <code>include</code> function executes code from an arbitrary file:
<lang Julia>include("foo.jl")</lang>
or alternatively <code>include_string</code> executes code in a string as if it were a file (and can optionally accept a filename to use in error messages etcetera).
 
Julia also has a module system:
Line 404 ⟶ 405:
<lang Julia>using MyModule</lang>
will import the module and all of its exported symbols
 
 
=={{header|LabVIEW}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.