[MOFScript] [message #385348] |
Fri, 05 September 2008 07:19  |
Eclipse User |
|
|
|
Hello,
In list->forEach(e){ print(e)} iteration, how to ignore certain element
in the list and print next element?
Thanks a lot!
Ye
|
|
|
Re: [MOFScript] [message #385350 is a reply to message #385348] |
Fri, 05 September 2008 09:01  |
Eclipse User |
|
|
|
I'm not fluent in MOFScript, but the standard approach in
most languages would be to filter the list and then do the
foreach on the filtered list.
"yeliu " <yeliu@abo.fi> wrote in message
news:9031ef8e7e328c3667d6d43562e008af$1@www.eclipse.org...
> Hello,
> In list->forEach(e){ print(e)} iteration, how to ignore certain element
> in the list and print next element?
>
>
>
> Thanks a lot!
>
>
> Ye
|
|
|
Re: [MOFScript] [message #621760 is a reply to message #385348] |
Fri, 05 September 2008 09:01  |
Eclipse User |
|
|
|
I'm not fluent in MOFScript, but the standard approach in
most languages would be to filter the list and then do the
foreach on the filtered list.
"yeliu " <yeliu@abo.fi> wrote in message
news:9031ef8e7e328c3667d6d43562e008af$1@www.eclipse.org...
> Hello,
> In list->forEach(e){ print(e)} iteration, how to ignore certain element
> in the list and print next element?
>
>
>
> Thanks a lot!
>
>
> Ye
|
|
|
Powered by
FUDForum. Page generated in 0.03126 seconds