There is none. parameters are passed by value by default. In previous
version of VB the default was ByRef.
Actually, there is 1 difference: readability. Those unfamiliar with VB.Net
might not know what the default bahaviour is, hence you should always put
it.
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"Shapper" <mdmoura*NOSPAM*@gmail.*DELETE2SEND*com> wrote in message
news:O%****************@TK2MSFTNGP12.phx.gbl...
Hello,
What is the difference between using in a function:
Sub Change_Culture(ByVal newCulture As String)
Or
Sub Change_Culture(newCulture As String)
The difference is the ByVal.
Thanks,
Miguel