[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmt] [MOFScript]couldn't print list element

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