Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,20 @@
|
|||
If condition Then
|
||||
statement
|
||||
End If
|
||||
|
||||
If condition Then
|
||||
statement
|
||||
Else
|
||||
statement
|
||||
End If
|
||||
|
||||
If condition1 Then
|
||||
statement
|
||||
ElseIf condition2 Then
|
||||
statement
|
||||
...
|
||||
ElseIf conditionN Then
|
||||
statement
|
||||
Else
|
||||
statement
|
||||
End If
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
If condition Then statement
|
||||
|
||||
If condition Then statement Else statement
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
Select Case Expression
|
||||
Case Value1: statement
|
||||
Case Value2: statement
|
||||
...
|
||||
Case ValueN: statement
|
||||
Case Else: statement
|
||||
End Select
|
||||
|
||||
Select Case Expression
|
||||
Case Value1
|
||||
statements
|
||||
Case Value2
|
||||
statements
|
||||
...
|
||||
Case ValueN
|
||||
statements
|
||||
Case Else
|
||||
statements
|
||||
End Select
|
||||
|
|
@ -0,0 +1 @@
|
|||
IIf(expr, then-value, else-value)
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
myName = 2
|
||||
Debug.Print IIf(myName = 1, "John", "Jack")
|
||||
'return : "Jack")
|
||||
|
|
@ -0,0 +1 @@
|
|||
Switch(expr-1, value-1[, expr-2, value-2 … [, expr-n,value-n]])
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
myName = 2
|
||||
Debug.Print Switch(myName = 1, "James", myName = 2, "Jacob", myName = 3, "Jeremy")
|
||||
'return : "Jacob"
|
||||
Loading…
Add table
Add a link
Reference in a new issue