Computer Science Canada

Mutible parameters

Author:  Raknarg [ Tue Apr 17, 2012 6:15 pm ]
Post subject:  Mutible parameters

In turing, you can do something like this:

proc thing (var x : int)

and then when you used the procedure thing, you can change the parameter inside the procedure and it'll change the variable outside the procedure.

So is there a way to make subs with mutible parameters in vb?

Author:  Tony [ Tue Apr 17, 2012 6:21 pm ]
Post subject:  RE:Mutible parameters

pass-by-value vs. pass-by-reference

Author:  Raknarg [ Tue Apr 17, 2012 6:22 pm ]
Post subject:  RE:Mutible parameters

Could you explain a bit more?

Author:  Tony [ Tue Apr 17, 2012 6:38 pm ]
Post subject:  RE:Mutible parameters

this is the terminology that you want to understand and use, so that you can ask the question that you have in mind -- "pass by reference vb", which will point you to the answer available on http://msdn.microsoft.com/en-us/library/ddck1z30.aspx

Author:  Raknarg [ Tue Apr 17, 2012 6:58 pm ]
Post subject:  RE:Mutible parameters

Alright, thanks


: