Sather like loop
Posted by Shugo Maeda Fri, 24 Aug 2007 13:15:00 GMT
Sather like loop is available in the SVN head.
e1 = [1,2,3,4,5].each
e2 = ["a","b","c","d","e"].each
loop do
p [e1.next, e2.next]
end
It's cool, isn't it?
Other posts about this post.
This post has been discussed on the following web sites / blogs. If you wish to trackback to this post please use the following trackback address: http://blog.shugo.net/articles/trackback/23
Spread the word.
Shugo's Blog supports RSS (Real Simple Syndication), and Trackbacks from other blogs.
Your Comments.
Leave your own response