Exactly, for example:
julia> a = 1
1
julia> b = 2
2
julia> function foo(a,b)
a = 2; b =3 ;
end
foo (generic function with 1 method)
julia> foo(a,b)
3
julia> a
1
julia> b
2
Exactly, for example:
julia> a = 1
1
julia> b = 2
2
julia> function foo(a,b)
a = 2; b =3 ;
end
foo (generic function with 1 method)
julia> foo(a,b)
3
julia> a
1
julia> b
2