Download presentation
Presentation is loading. Please wait.
1
Chapter (3) - Procedures
Questions
2
We can notice the declaration of the following :
1 ."Class" is under the name (Form1) 2"Variables" are under the names (total, i) 3-"Event procedures" are under the name of (Button1_Click, Button2_Click(
3
Here we declare what is so-called (Procedures); this declaration is done only once and then, you recall the procedures many times from anywhere in your program; which avoids code duplication in places where procedures are recalled.
4
Note: In the procedure declaration, we can use more than one Parameter. When the procedure is recalled, we determine values of the outside procedure called (Argument).
6
Declaration of Function SUM
Calling of Function SUM
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.