|
|
|
|
Re: [MOFScript]couldn't print list element [message #385189 is a reply to message #385188] |
Tue, 26 August 2008 12:05 |
yeliu Messages: 145 Registered: July 2009 |
Senior Member |
|
|
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
|
|
|
|
|
|
|
|
Re: [MOFScript]couldn't print list element [message #620060 is a reply to message #385188] |
Tue, 26 August 2008 12:05 |
yeliu Messages: 145 Registered: July 2009 |
Senior Member |
|
|
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
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03986 seconds