Upcoming SlideShare
×

# تابع البرمجة بلغة الفيجوال بيسك

1,240 views

Published on

0 Likes
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
• Be the first to comment

• Be the first to like this

Views
Total views
1,240
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
47
0
Likes
0
Embeds 0
No embeds

No notes for slide

### تابع البرمجة بلغة الفيجوال بيسك

1. 1. Select CaseSELECT CASE expression CASE prob1 …. statement …. CASE prob2 …. statement …. CASE ELSE …. statement ….END SELECT
2. 2. Select CaseSELECT CASE grade CASE 90 To 100 Text1 = “ ” CASE 80 To 89 Text1 = “ ” CASE 70 To 79 Text1 = “ ” CASE 60 To 69 Text1 = “ ” CASE ELSE Text1= “ ”END SELECT
3. 3. Select CaseIF  Select Case
4. 4.  A = 1 + 2 + 3 + 4 + ……. + 50 FOR I =1 To 50 A =A+I Next  .1 .2 .3
5. 5. FOR….Next FOR M = 1 TO 10 PRINT MNEXT
6. 6. FOR….NextFOR M = 1 TO 10 STEP 2 PRINT MNEXT
7. 7. FOR….NextFOR M = 10 TO 1 STEP -1 PRINT MNEXT
8. 8. DO….WHILE M=1DO WHILE M <= 10 PRINT M M=M+1LOOP
9. 9. DO….WHILEM = 10DO WHILE M > 0 PRINT M M=M-1LOOP
10. 10.  DIM Var1 (n) AS Type -  - DIM Name (49) AS String  -
11. 11.  DIM M(9) AS Integer M 9 8 7 6 5 4 3 2 1 0 M   
12. 12. DIM D(14) As SingleFOR M = 0 TO 14 D(M) = InputBox (“ ”)Next
13. 13. DIM D(14) As Single, N(14) As StringFOR M = 0 TO 14 N(M) = InputBox (“ ”) D(M) = InputBox (“ ”)Next
14. 14. D DIM D(14) As SingleFOR M = 0 TO 14 PRINT D(M)Next