Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Today's Messages (off)  | Unanswered Messages (on)

Forum: COBOL
 Topic: toString helper
toString helper [message #1059438] Sat, 18 May 2013 08:58
Basma Moukhtar is currently offline Basma Moukhtar
Messages: 19
Registered: June 2010
Junior Member
Dears,
I have a helper that's defined as this:

helper context MyPackage!MyClass def: toString() : String = 'Self To String;'


But I need to set a boolean attribute in self (MyPackage!MyClass) to true when the "toString" function is called.
I can't write self.myAttibute=true because my helper returns string.

How can I do this?



Current Time: Sat May 18 22:24:11 EDT 2013

Powered by FUDForum. Page generated in 0.01431 seconds