Updated Nim for C programmers (markdown)

This commit is contained in:
jlp765 2016-09-05 21:50:04 +10:00
parent 884bb7fbc6
commit 3e31df62a1
1 changed files with 3 additions and 2 deletions

View File

@ -302,9 +302,10 @@ proc bar(): int =
proc baz(x: int): int =
x*2
proc foobar(x: var int): int =
proc foobar(x: var int):
int =
inc(x)
result = x*2 # also valid
result = x*2
</pre>
</td>
<td><b>Function/Procedure.</b> </td>