Hi
I think you can't use the + operator but something like that :
iterate(goal; w: Sequence(Type)=''|
        if (self.allRelationship.includes(Sequence{goal}))then
               w
                 else
                 w->append(goal)
        endif);

Le 17/05/2010 10:09, Topcased user list where issues are discussed a écrit :
Hi,
i have this helper i would like do iterate through a sequence(goal; w: Sequence{}... but i have an error message when i replace by string it accept. i would have a Sequence as return value.

helper context uml!PackageableElement def :Level0:String =

       self.allGoal->iterate(goal; w: String=''|
           w+
        if (self.allRelationship.includes(Sequence{goal}))then
               Sequence{}
                 else
                 goal

        endif);
can you help me?
thanks


_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

<<attachment: tristan_faure.vcf>>

_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
  • [Topcased-users] iterate Topcased user list where issues are discussed
    • Re: [Topcased-users] it... Topcased user list where issues are discussed

Reply via email to