Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
25
Task/Conditional-structures/VBA/conditional-structures-1.vba
Normal file
25
Task/Conditional-structures/VBA/conditional-structures-1.vba
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
Sub C_S_If()
|
||||
Dim A$, B$
|
||||
|
||||
A = "Hello"
|
||||
B = "World"
|
||||
'test
|
||||
If A = B Then Debug.Print A & " = " & B
|
||||
'other syntax
|
||||
If A = B Then
|
||||
Debug.Print A & " = " & B
|
||||
Else
|
||||
Debug.Print A & " and " & B & " are differents."
|
||||
End If
|
||||
'other syntax
|
||||
If A = B Then
|
||||
Debug.Print A & " = " & B
|
||||
Else: Debug.Print A & " and " & B & " are differents."
|
||||
End If
|
||||
'other syntax
|
||||
If A = B Then Debug.Print A & " = " & B _
|
||||
Else Debug.Print A & " and " & B & " are differents."
|
||||
'other syntax
|
||||
If A = B Then Debug.Print A & " = " & B Else Debug.Print A & " and " & B & " are differents."
|
||||
If A = B Then Debug.Print A & " = " & B Else: Debug.Print A & " and " & B & " are differents."
|
||||
End Sub
|
||||
Loading…
Add table
Add a link
Reference in a new issue