No, a function can never change the binding of a variable in the local
calling scope. This is a good thing.

On Thu, Aug 11, 2016 at 5:39 PM, digxx <[email protected]> wrote:

> So in short it is not possible to do it with a value but only with an
>> array?
>>
>
>  function f!(x)
> x[1]=x[1]+1
> end
>
> x=[1]
> f!(x)
> ...
>
> Is it possible to do it via pointer?
>

Reply via email to