Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » COBOL » toString helper
toString helper [message #1059438] Sat, 18 May 2013 12:58 Go to next message
Basma Moukhtar is currently offline Basma Moukhtar
Messages: 27
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?
Re: toString helper [message #1059486 is a reply to message #1059438] Sun, 19 May 2013 17:03 Go to previous message
Basma Moukhtar is currently offline Basma Moukhtar
Messages: 27
Registered: June 2010
Junior Member

Sorry, I sent this by wrong on this forum.
Previous Topic:When implementing custom sequence, getGeneratedVector is executed twice in JTA environment
Next Topic:Looking for a "NetCobol using fujitsu 4.1" Corporate Trainer
Goto Forum:
  


Current Time: Tue Sep 16 09:30:14 GMT 2014

Powered by FUDForum. Page generated in 0.01842 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software