.


:




:

































 

 

 

 


Start F5.




. .

1.

2.

3.

4.

5.

6.

7.

8.

9.

10.

11.

 

12.

13.

14.

15.

16.

17.

18.

19.

20.

21.

22.

23.

 


24.

25.

 

 

1. .

2. , .

3. . .

4. . .

5. .

6. .

7. Form, Text, Command Label: , .

8. .


2

: .

. If , , ( ) .

If .

:

If <> Then < 1> [ Else < 2>]

True (), 1, Then. False, 2, Else.

If . 2.

 

 

. 2. If

) ( Else) ) ( Else)

 

If :

If<> Then

< 1>

[ Else

< 2> ]

End If

 

ElseIf :

If < 1> Then

< 1>

ElseIf < 2> Then

< 2>

Else

< n>

End If

Boolean, True False.

VB () <, >, <=, >=, =, <>, . , , , : not ; and ; or , xor .

,

x >= a And x <= b

If, Select .

Select :

Select Case < >

Case < 1 >

< 1 >

Case < 2 >

< 2 >

[ Case Else

< 3 >]

End Select

Case , , , [a;b] a To b, (Is < 10). Is . Case Else , .

. If Select Case.

1) 2)

3) 4)

5) 6)

 

7) 8)

 

9) 10)

 

11) 12)

13) 14)

15) 16)

17) 18)

19) 20)

21) 22)

23) 24)

25)

. . 3.

. 3.

. . . , .

R , 2. x. y.

VB 3 : Command1 ( ), Text1 ( x) Label1 ( y).





:


: 2017-02-25; !; : 473 |


:

:

- , .
==> ...

1733 - | 1543 -


© 2015-2024 lektsii.org - -

: 0.019 .