Skip to content

Instantly share code, notes, and snippets.

@def-
Created March 3, 2016 20:07
Show Gist options
  • Save def-/5e8c9a85b3719668a9d6 to your computer and use it in GitHub Desktop.
Save def-/5e8c9a85b3719668a9d6 to your computer and use it in GitHub Desktop.
var a: ref int = new(int) # or just: var a = new int
a[] = 10
var p = a
p[] = 20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment