次の例では、set del to delegate end-delegate コードを削除して、最初のデリゲート宣言からネストされた匿名メソッドを除外する必要があります。
class-id MyClass. method-id main static. 01 del type MyDelegate. set del to delegate set del to delegate end-delegate *> code cannot include another anon method end-delegate goback. end method. end class. delegate-id MyDelegate. end delegate.