Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » GMT (Generative Modeling Technologies) » [MOFScript]couldn't print list element
[MOFScript]couldn't print list element [message #620041] Fri, 22 August 2008 13:49
yeliu is currently offline yeliuFriend
Messages: 145
Registered: July 2009
Senior Member
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
Previous Topic:[Epsilon] [Eugenia] Diagram Imp. Samples
Next Topic:[Epsilon] [Eugenia] EnumType Attributes
Goto Forum:
  


Current Time: Fri Apr 19 19:12:26 GMT 2024

Powered by FUDForum. Page generated in 0.02886 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top