Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums[ATL] acces to string
https://www.eclipse.org/forums/index.php/mv/msg/169428/537976/#msg_537976
i have the code,it shows a problem that a is undefined ,how i can acces to a and how can i resolve this problem?
if self.GetRelationship2(goal).first().startsWith('And') then Sequence{thisModule.NewEventRefines(Sequence{'(' +(self.GetSupplier((self.GetClientNiveau(goal))->flatten())- >flatten())->iterate(m; a: String=''|
a+('Ev'+m.name +' ||| ')).substring(0,a.size()-3)+')'+' Refines '+ 'Ev'+(self.GetClient(goal))->flatten().first().name})}
thanks]]>graa2010-06-04T11:39:30-00:00Re: [ATL] acces to string
https://www.eclipse.org/forums/index.php/mv/msg/169428/537978/#msg_537978
Sylvain EVEILLARD2010-06-04T11:41:43-00:00Re: [ATL] acces to string
https://www.eclipse.org/forums/index.php/mv/msg/169428/537983/#msg_537983
but it doesn't resolve the problem]]>graa2010-06-04T11:43:57-00:00Re: [ATL] acces to string
https://www.eclipse.org/forums/index.php/mv/msg/169428/537984/#msg_537984
Sylvain EVEILLARD2010-06-04T11:56:16-00:00Re: [ATL] acces to string
https://www.eclipse.org/forums/index.php/mv/msg/169428/537985/#msg_537985
do a :
let string : String = Sequence{thisModule.NewEventRefines(Sequence{'(' +(self.GetSupplier((self.GetClientNiveau(goal))->flatten())- >flatten())->iterate(m; a: String=''|
a+('Ev'+m.name +' ||| ')) in
string.substring(1,string.size()-3)+')'+' Refines '+ 'Ev'+(self.GetClient(goal))->flatten().first().name})}]]>Sylvain EVEILLARD2010-06-04T11:58:07-00:00Re: [ATL] acces to string
https://www.eclipse.org/forums/index.php/mv/msg/169428/537996/#msg_537996
thank you very much]]>graa2010-06-04T12:58:00-00:00