Skip to content

Instantly share code, notes, and snippets.

@Varriount
Created January 31, 2014 20:40
Show Gist options
  • Save Varriount/8742694 to your computer and use it in GitHub Desktop.
Save Varriount/8742694 to your computer and use it in GitHub Desktop.
Dynamic Allocation Test
when isMainModule:
var x = newSeq[string]()
x.add("Hello")
x.add(" and ")
x.add("Goodbye")
echo($x[0], $x[1], $x[2])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment