# Comma in function call

**URL:** https://discourse.julialang.org/t/comma-in-function-call/36746
**Category:** General Usage
**Created:** [March 30, 2020, 3:13pm UTC](https://discourse.julialang.org/t/comma-in-function-call/36746 "2020-03-30T15:13:51Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Marques](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marques/32/13630_2.png) [@Marques](https://discourse.julialang.org/u/Marques)
#### Post date: [March 30, 2020, 3:13pm UTC](https://discourse.julialang.org/t/comma-in-function-call/36746/1 "2020-03-30T15:13:51Z")

</div>

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 🙂

---

<div class="post-metadata">

### Author: ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)
#### Post date: [March 30, 2020, 3:18pm UTC](https://discourse.julialang.org/t/comma-in-function-call/36746/2 "2020-03-30T15:18:00Z")

</div>

It separates input arguments, it is pretty standard in programming and not specific to Julia.

---

<div class="post-metadata">

### Author: ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)
#### Post date: [March 30, 2020, 3:26pm UTC](https://discourse.julialang.org/t/comma-in-function-call/36746/3 "2020-03-30T15:26:11Z")

</div>

You must be a [Scheme](https://en.wikipedia.org/wiki/Scheme_(programming_language)) programmer? 😉

---

<div class="post-metadata">

### Author: ![pdeffebach](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pdeffebach/32/10320_2.png) [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)
#### Post date: [March 30, 2020, 3:44pm UTC](https://discourse.julialang.org/t/comma-in-function-call/36746/4 "2020-03-30T15:44:27Z")

</div>

Are you coming from Stata by chance?

---

<div class="post-metadata">

### Author: ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)
#### Post date: [March 31, 2020, 8:23am UTC](https://discourse.julialang.org/t/comma-in-function-call/36746/5 "2020-03-31T08:23:54Z")

</div>

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

[https://docs.julialang.org/en/v1/manual/functions/](https://docs.julialang.org/en/v1/manual/functions/)
