Introspection: Difference between revisions
Content deleted Content added
m Fixed typo (existance → existence) |
|||
Line 941: | Line 941: | ||
=={{header|Julia}}== |
=={{header|Julia}}== |
||
{{works with|Julia|0.6}} |
|||
<lang julia>@show VERSION |
<lang julia>@show VERSION |
||
VERSION < v"0.4" && exit(1) |
VERSION < v"0.4" && exit(1) |
||
if isdefined(:bloop) && !isempty(methods(abs)) |
if isdefined(Base, :bloop) && !isempty(methods(abs)) |
||
@show abs(bloop) |
@show abs(bloop) |
||
end |
end |
||
Line 956: | Line 954: | ||
{{out}} |
{{out}} |
||
<pre>VERSION = v" |
<pre>VERSION = v"1.2.0" |
||
Integer variables: a, b, c. |
Integer variables: a, b, c. |
||
Sum of integers in the global scope: 6.</pre> |
Sum of integers in the global scope: 6.</pre> |