Talk:Loop structures: Difference between revisions

From Rosetta Code
Content added Content deleted
(→‎Iteration: Classification help)
Line 16: Line 16:
::*"do-cycle": [[Loop/Continue]]
::*"do-cycle": [[Loop/Continue]]
::Also, you could probably make "step" negative in the "for-like" loop to use it in the [[Loop/Downward For]] page. --[[User:Mwn3d|Mwn3d]] 19:32, 17 February 2009 (UTC)
::Also, you could probably make "step" negative in the "for-like" loop to use it in the [[Loop/Downward For]] page. --[[User:Mwn3d|Mwn3d]] 19:32, 17 February 2009 (UTC)
:::Yes, but I start always too late in the night so I get confused quickly:) There are already Fortran example, even though misleading (e.g. Loop/Continue does not shows how to "continue", in the C sense, a loop in fortran...). I try to "fix" this, hopefully I won't make any mistake. --[[User:ShinTakezou|ShinTakezou]] 23:49, 17 February 2009 (UTC)

Revision as of 23:49, 17 February 2009

Python:

 with foo() as bar:
   baz(bar)

So where's the loop?

Iteration

Examples from this page should be translated to pages in Category:Iteration. We don't need duplicates. --Mwn3d 12:46, 14 April 2008 (MDT)

Hard to classify things sometimes... (but maybe it's just too late tonight:D) --ShinTakezou 00:54, 17 February 2009 (UTC)
I looked at your edits and I classified some of them like this:
Also, you could probably make "step" negative in the "for-like" loop to use it in the Loop/Downward For page. --Mwn3d 19:32, 17 February 2009 (UTC)
Yes, but I start always too late in the night so I get confused quickly:) There are already Fortran example, even though misleading (e.g. Loop/Continue does not shows how to "continue", in the C sense, a loop in fortran...). I try to "fix" this, hopefully I won't make any mistake. --ShinTakezou 23:49, 17 February 2009 (UTC)