Changeset 569 for trunk/ab5.0
- Timestamp:
- Jul 26, 2008, 7:29:57 AM (16 years ago)
- Location:
- trunk/ab5.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/ablib/TestCase/SimpleTestCase/DelegateTest.ab
r549 r569 14 14 Delegate Sub Callback4( a As StringEx ) 15 15 Delegate Function Callback7( str As String ) As String 16 Delegate Sub CallbackTicket184( ByRef a As Long ) 16 17 17 18 Class TestClass … … 90 91 dg() 91 92 End Sub 93 94 Sub Ticket184( ByRef a As Long ) 95 a = &H184 96 End Sub 92 97 End Class 93 98 … … 116 121 UnitTest( "Delegate2", dg7( "test value" ) = "Proc7 result[test value]" ) 117 122 123 Dim dg184 = New CallbackTicket184( AddressOf( testObj.Ticket184 ) ) 124 Dim temp184 As Long 125 dg184( temp184 ) 126 UnitTest( "Delegate3", temp184 = &H184 ) 127 118 128 End Sub 119 129
Note:
See TracChangeset
for help on using the changeset viewer.