Talk:Flow-control structures: Difference between revisions

Unicon/Icon - lengthy explanations on task page - where to put them?
(Unicon/Icon - lengthy explanations on task page - where to put them?)
Line 7:
Should break and continue be in the IDL example here? I thought they were for loops. --[[User:Mwn3d|Mwn3d]] 13:16, 15 December 2007 (MST)
:'break' at least works for any "innermost structure" -- it'll break out of the 'current loop' but also out of the 'current if-branch' or the 'current switch-branch' etc. [[User:Sgeier|Sgeier]] 22:36, 12 June 2009 (UTC)
 
'''How much discussion on the main page'''
 
The Unicon/Icon example provides explanations of details of the language relating to flow control. My sense is that much of this should be referenced but the detail be placed elsewhere. The question is where? For example:
 
* Goal Directed Evaluation and generators are really a paradigm but there isn't a paradigm that talks to this. How does one get created?
* Some information could go on a language page but I don't really see other examples.
* Other information like a list of control elements and the lack of a goto are probably worth mention. Again possibly through a reference, but where to?
 
--[[User:Dgamey|Dgamey]] 23:54, 12 April 2010 (UTC)
Anonymous user