Created
March 30, 2018 19:09
-
-
Save pqflx3/2edecf022e17842e23015c67b08e132d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
proc foo() : string = | |
var a = "hello " | |
proc bar(s : string){.inline.} = | |
a.add s | |
bar("world") | |
result = a | |
when isMainModule: | |
echo foo() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment