Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Arrays cannot be passed ByVal in VB

Status
Not open for further replies.

rvBasic

Programmer
Oct 22, 2000
414
BE
Arrays cannot be passed ByVal in VB5 or 6.

The default for arguments in VB.Net however is ByVal.

Does this mean that Arrays are passed ByVal in VB.NET? (Which could imply a hefty memory load if a 1000 * 1000 array is passed)

I don't yet have VB.Net installed, otherwise i would have tested this myself. Thanks in advance for an answer. _________________________________
In theory, there is no difference between theory and practice. In practice, there is. [attributed to Yogi Berra]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top