Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter (3) - Procedures

Similar presentations


Presentation on theme: "Chapter (3) - Procedures"— Presentation transcript:

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).

5

6 Declaration of Function SUM
Calling of Function SUM

7

8

9

10

11


Download ppt "Chapter (3) - Procedures"

Similar presentations


Ads by Google