Runtime evaluation: Difference between revisions
Content added Content deleted
(Added Julia language) |
|||
Line 840: | Line 840: | ||
typeof bar; // 'string' |
typeof bar; // 'string' |
||
</lang> |
</lang> |
||
=={{header|Julia}}== |
|||
{{works with|Julia|0.6}} |
|||
To run an entire script in the current env: |
|||
<lang julia>include("myfile.jl")</lang> |
|||
To run a string in the current env: |
|||
<lang julia>include_string(""" |
|||
x = sum([1, 2, 3]) |
|||
@show x |
|||
""") |
|||
@show typeof(x) # Int64</lang> |
|||
=={{header|Mathematica}}== |
=={{header|Mathematica}}== |