Showing posts with label If- Then- Else. Show all posts
Showing posts with label If- Then- Else. Show all posts

Monday, January 21, 2013


If- Then- Else: 


               इस conditional statement मे दो block होते है। condition के true होने पर If block execute होता है और condition के false होने पर Else block execute होता है।


Syntax-   If Condition Then
          [If block Statements]
         Else
           [Else Block Statements]
        End If

Ex-      If a > b Then
             Msgbox (A is greater”)
         Else
               Msgbox (“B is greater”)
        End If 

Contact us

Name

Email *

Message *