Hi guys, can someone help me?. While I was studying functions I came across a situacion, example: function soma(n)
soma(1,n, positive).
What I didn’t understand is the use of the comma when the function is called. Could someone explain to me why using a comma when a function is called and the advantage it brings. Thanks
It separates input arguments, it is pretty standard in programming and not specific to Julia.
You must be a Scheme programmer?
2 Likes
Are you coming from Stata by chance?
This is just the syntax that Julia uses, similarly to C and related languages.
If these things are new or puzzling to you, please consider reading the manual from the very beginning. Function calls are discussed in