Skip to main content



      Home
Home » Archived » GMT (Generative Modeling Technologies) » [MOFScript]
[MOFScript] [message #385348] Fri, 05 September 2008 07:19 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:[MOFScript]
Next Topic:[Epsilon]cloning a model element in EOL
Goto Forum:
  


Current Time: Wed Mar 19 15:44:36 EDT 2025

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

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

Back to the top