Skip to content

Commit 2045bcf

Browse files
committed
add example for pr576
1 parent 387292d commit 2045bcf

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

vb6/examples/pr578.vb

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
VERSION 1.0 CLASS
2+
BEGIN
3+
MultiUse = -1 'True
4+
Persistable = 0 'NotPersistable
5+
DataBindingBehavior = 0 'vbNone
6+
DataSourceBehavior = 0 'vbNone
7+
MTSTransactionMode = 0 'NotAnMTSObject
8+
END
9+
Attribute VB_Name = "ConstDirective"
10+
Attribute VB_GlobalNameSpace = False
11+
Attribute VB_Creatable = True
12+
Attribute VB_PredeclaredId = False
13+
Attribute VB_Exposed = True
14+
Const EvalDirective = 0
15+
16+
Public Function EvalConstDirective() As Long
17+
#If EvalDirective Then
18+
EvalConstDirective = 1
19+
#Else
20+
EvalConstDirective = 0
21+
#End If
22+
End Function
23+

0 commit comments

Comments
 (0)