Skip to content

Instantly share code, notes, and snippets.

@AnthonyDGreen
Created February 8, 2019 17:06
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save AnthonyDGreen/35888b2bcca74e92bce5fcaf665ed249 to your computer and use it in GitHub Desktop.
Module Program
Sub Main()
Dim i As Integer = 3
M((i))
Console.WriteLine(i)
End Sub
Sub M(ByRef variable As Integer)
variable = -variable
End Sub
End Module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment