You can get the arguments of a tuple the same way you get the arguments of an array.
For example: f(x) = (x,x+2) results = f(1) results[1] returns 1 and results[2] returns 3 http://docs.julialang.org/en/latest/stdlib/collections/#indexable-collections Good luck El lunes, 23 de noviembre de 2015, 11:26:05 (UTC-6), Sisyphuss escribió: > > > > I have a function that returns a tuple. > But I only want the second value of this tuple. > So I tried `(,a) =f()`. But it does not work. > > I'd like to is there any syntax which works? > Note `(a,) = (1,2)` does work. >
