Previous Topic Next topic Print topic


COBCH1660 Type is not disposable

The item specified in the PERFORM USING statement is not disposable.

In the following example, d1 must implement the System.IDisposable interface.

class-id myClass.
method-id myMethod.
 perform using d1 as string = "Hello" *> implement d1 as type System.IDisposable
   continue
 end-perform.
end method.
end class.
Previous Topic Next topic Print topic