[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.gmt] Re: [MOFScript]couldn't print list element
|
Hello Ye,
I guess this is related to your previous posting.
Cheers,
Gøran
"Ye Liu" <yeliu@xxxxxx> wrote in message
news:bc411baff8f348ed70d85ab9a4be4ede$1@xxxxxxxxxxxxxxxxxx
> Hello,
> I have a class Sca,with one attribute List<String> xxx,I want print all
> the elements in this list,I write the following statment in MOFScript.
> In the context of Sca,
> self.xxx->forEach(s:string)
> print(s+",")
> when I execute the code (of course ,this is not an empty list),none of the
> elements is printed.Does anyone knows what the problem is?
>
>
> Thanks a lot!
>
> Ye
>