Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
4
Task/Named-parameters/Nim/named-parameters.nim
Normal file
4
Task/Named-parameters/Nim/named-parameters.nim
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
proc subtract(x, y): auto = x - y
|
||||
|
||||
echo subtract(5, 3) # used as positional parameters
|
||||
echo subtract(y = 3, x = 5) # used as named parameters
|
||||
Loading…
Add table
Add a link
Reference in a new issue