Uroci.net - !
Adobe Photoshop Adobe Illustrator Adobe Flash Adobe Fireworks DreamWeaver CSS HTML Corel Draw Image Ready PHP SEO CMS Microsoft Windows Microsoft Word Microsoft Excel PowerPoint Microsoft Access Microsoft Publisher Linux Visual basic
JavaScript Ajax 3ds Max Maya 3D C++ Sound Forge Gimp SWiSH

bubust   :    : 1784

(Comparison Operators);



1 (Comparison Operators)
=
< -
<= -
> -
>= -
<>



, : Is Like. Is . , (True). Like , . SQL Like . ..3 , Like.

2 Like
Wildcard Character

( )
Pattern Matches

()
?
*
#
!



Like , . , True. , False.

(Logical Operators);



Table 3 - (Logical Operators)


And True, True
Not True, False
Or True, True
Xor True, True



, , . If...Then...Else Select.



If...Then...Else



If...Then...Else . , True. : .
(single-line):
If condition Then [statement] [Else elsestatement]



. - - . ElseIf Else , :
If condition Then

[statements]

[ElseIf condition-n Then

[elseifstatements] ...

[Else

[elsestatements]]

End If

If Then

[]

[ElseIf -n Then

[elseif ] ...

[Else

[else ]]

End If


Condition -

. . condition- True False, Boolean.

Statements-

- ; - , Else . , If...Then condition - True.

Elseifcondition-Elseif

ElseIf. condition.

Elseifstatements- Elseif

. , ElseIf...Then elseifcondition True.

Elsestatements - else

- ; - , Else . , -condition elseifcondition True.

End If

If...Then.



Select Case



Select Case If...Then...Else. . Select Case Else...If. Select Case :


Select Case testexpression

[Case expressionlist-n

[statements-n]] ...

[Case Else

[elsestatements]]

End Select
Select Case -

[Case -n

[-n]] ...

[Case Else

[else ]]

End Select


Testexpression- -

. . (Boolean, Byte, Char, Date, Double, Decimal, Integer, Long, Object, Short, Single, String).

Expressionlist-

Case . - - testexpression. . :


expression1 To expression2

[ Is ] comparisonoperator, expression

expression
1 To 2

[ Is ] ,


To testexpression. expression1 - expression2.

Is (=, <>, <, <=, >, >=) testexpression. Is comparisonoperator.

Statements

. , Case.

Elsestatements

. , Case Else Case .

End Select

Select...Case







While


Do [{While | Until} condition]

[statements]

[Exit Do]

[statements]

Loop

Do [{While | Until} ]

[]

[Exit Do]

[]

Loop

:

Do

[statements]

[Exit Do]

[statements]

Loop [{While | Until} condition]



Do

[]

[Exit Do]

[]

Loop [{While | Until} ]




While

Until . . condition False.

Until

While. . condition True.

Condition-

. Boolean. True False.

Statements-

. , condition True.

:


Exit Do

While...End While

, - True.

While condition

[ statements ]

End While


condition -

. . True False. - condition Nothing, condition False.

Statements-

. While while True.

End While

While.


While .



For



For . . ( ). :


For counter = start To end [Step step]

[statements]

[Exit For]

[statements]

Next
For = To [Step ]

[]

[Exit For]

[]

Next


: 1 2 3 4 »

,


© . 2006-2008. Created by: Site.bg
: IT | | . | Paparak.bg | | uchenik.com | TRAVEL | | AmAm.bg | . | | AnimeS-bg.com | | | | IT Light | Spodeli.net | - | IDG.BG | Teenproblem.net | - | Fresh-BG.com | Hanovete.com | Bulfleet.com | Mythlands.com | Ohoboho.com | .Com | News24 | Setcom.bg | Atol.bg | Elmaz.com | MobileBulgaria.com