본문 바로가기

VBA

[VBA] Short-Circuit은 지원하지 않는다.

Not Supported Short-Circuit


1
2
3
4
5
6
7
8
9
10
Function condition() As Boolean
    Debug.Print "call condition function"
    condition = True
End Function
 
 
Sub test()
    If True Or condition() Then
    End If
End Sub
cs


1. nested if

2. condition flags

'VBA' 카테고리의 다른 글

[VBA] byref 인수 형식이 일치하지 않습니다  (0) 2018.01.31