A
alex.wiese.pulse
Guest
The following class compiles successfully: CLASS Test: DEFINE TEMP-TABLE ttTest FIELD id AS INTEGER FIELD NAME AS CHARACTER. METHOD PUBLIC VOID TestMethod( BUFFER p-ttTest FOR ttTest ): UNDO, THROW NEW Progress.Lang.AppError("METHOD NOT IMPLEMENTED"). END METHOD. END CLASS. If I try to define an interface for this class I get this error (on the METHOD line). "Only datasets, temp-tables, and properties may be defined in an interface. (13149)" INTERFACE SkuUnit.ITest: DEFINE TEMP-TABLE ttTest FIELD id AS INTEGER FIELD NAME AS CHARACTER. METHOD PUBLIC VOID TestMethod(BUFFER p-ttTest FOR ttTest). END INTERFACE. Removing the parameter allows it to compile successfully. How can I define an interface method that matches this class?
Continue reading...
Continue reading...