Ignore:
Timestamp:
Oct 4, 2007, 2:50:09 AM (17 years ago)
Author:
dai
Message:

System.Collections.Generic.List.RemoveAtメソッドを追加
デリゲート型に対する"-"演算子を追加

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/TestCase/SimpleTestCase/DelegateTest.ab

    r343 r352  
    1515    proc5Flag As Boolean
    1616    proc6Flag As Boolean
     17    proc8Flag As Boolean
    1718
    1819    Static staticProc1Flag = False As Boolean
     
    3031        proc5Flag = False
    3132        proc6Flag = False
     33        proc8Flag = True
    3234    End Sub
    3335    Function CheckFlags() As Boolean
    34         Return proc1Flag and proc2Flag and proc3Flag and proc4Flag and proc5Flag and proc6Flag
     36        Return proc1Flag and proc2Flag and proc3Flag and proc4Flag and proc5Flag and proc6Flag and proc8Flag
    3537    End Function
    3638
     
    6264        Return "Proc7 result[" + str + "]"
    6365    End Function
     66
     67    Sub Proc8( a As String )
     68        proc8Flag = False
     69    End Sub
    6470End Class
    6571
     
    7278    dg4 += AddressOf(testObj.Proc5)
    7379    dg4 += AddressOf(testObj.Proc6)
     80    dg4 += AddressOf(testObj.Proc8)
     81    dg4 -= AddressOf(testObj.Proc8)
    7482
    7583    dg1()
Note: See TracChangeset for help on using the changeset viewer.