|
RE: standard for loop: msg#00203lang.groovy.user
> -----Original Message----- > From: Guillaume Laforge > [mailto:glaforge-yCVjj/EcxBJg9hUCZPvPmw@xxxxxxxxxxxxxxxx] > Sent: Tuesday, November 30, 2004 10:51 AM > To: user-i9PBDF1N6cxnkHa44VUL00B+6BGkLq7r@xxxxxxxxxxxxxxxx > Subject: Re: [groovy-user] standard for loop > > Steven Buroff wrote: > > In addition, groovy is gratuitously incompatible with java such as: > > > > for(x in y){} > > > > instead of > > > > for(x : y){} > > Groovy supports both. Oops - sorry. I didn't see this in the documentation. However, you're right. It does work. Thanks for the info. Steve > > -- > Guillaume Laforge > http://glaforge.free.fr/weblog >
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: standard for loop, Steven Buroff |
|---|---|
| Next by Date: | returning void from a method, Babelex |
| Previous by Thread: | Re: standard for loop, Guillaume Laforge |
| Next by Thread: | Re: standard for loop, Ken Pelletier |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |