[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,
Well, the problem is still not solved.As I described in my first post,s means a variable of type String.I think this iteration for string is right,what do you think?
-------------------------------
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+",")
--------------------------------


Thanks

Ye