VB.NET Programming. Intermediate Lesson 3. Passing Parameters

preview_player
Показать описание
This is the third in a series of computer science video tutorials for intermediate Visual Basic programmers who have completed the beginner’s series of video tutorials or are already familiar with the VB.NET syntax for the fundamental programming constructs. In this lesson you will learn how one procedure can pass data to another, when it calls it, via parameters. You will learn how regular variables and array variables can be passed. You will also learn about the difference between passing a parameter by value, using the ByVal keyword, and passing a parameter by reference using the ByRef keyword.

Chapters:
00:00 Non local variables review
02:07 The Call keyword
03:14 Pass a value as a parameter
06:17 Declaring and passing multiple parameters
07:39 Passing the contents of variables as parameters
09:10 Passing parameters by value (the ByVal keyword)
09:43 Passing parameters by reference (the ByRef keyword)
12:06 Passing an array variable as a parameter
Рекомендации по теме
Комментарии
Автор

cant resist keeping on with your vb videos, it is easy to skim through as im refreshing my vb knowledge, thanks a lot

SaifHarbia
Автор

Did not understand ByVal, ByRef, so I took copious notes. I can now use them and know what the heck I'm doing. Arguments and Parameters, got it....Thanks so much, KD....JT

jtlunsford
Автор

Uuuu third part, cool congratulations 🤗😉❤️

kamkoamoh
Автор

I'm really enjoying your playlists on VB. Looking forward to more videos!

mattygduffy
Автор

Thank you again, your videos are always helped. Best explanations!

xa
Автор

Hi! Thank you for your videos! I believe that in the end, there is "an error": Arrays would not be passed by "byval", but "byref". I tried it and if I change values for the array, in "doSomething", and MsgBox the values of the array (from Button1clicked()), values changed, proving this is "byref". Or maybe I did not totally understand the meaning of what you said. Thank you!

pedroagma
Автор

Hi, how did you cancel the button2 at 2:08?

weibinren
Автор

Great lesson! I am learning a lot of differences with VB6 now. it seems colors are not treated as numbers any longer. Can you do a lesson on changing back colors of buttons or text fields depending on selection or value entered? And then returning the color to the original once selection is removed? Plus a msgbox "my color is.. " & color. Thanks.

kevinerose
Автор

I am entering the correct username and password as i identified them, but the code does not run correctly

MostafaMahmoud-wzgx
Автор

You have great compelling content. oh I mean, there are tasks that professional programmers and ordinary users perform every day. For example, they create programs for the desktop, for the Web or for working with databases, Excel, access or for parsing sites. The power of the language is better revealed if not only to learn the language itself, but also to do it in conjunction with specific tasks. For a long time I could not choose a language because I did not see the end result that a language can give.

kabukijoe