Talk:Conditional structures: Difference between revisions

Content added Content deleted
Line 14: Line 14:
What is a conditional structure? Is a try/catch statement a conditional structure?
What is a conditional structure? Is a try/catch statement a conditional structure?
--[[User:Rdm|Rdm]] 21:31, 6 October 2009 (UTC)
--[[User:Rdm|Rdm]] 21:31, 6 October 2009 (UTC)
: See [[wp:Conditional (programming)]]. Basically, a choice has to be made, and code is or isn't executed based on that choice. (In many languages, that choice usually boils down to "true" or "false".) Try-catch falls under [[Exceptions|exception handling]]. (Technically, I suppose that it could be considered a conditional, where the condition is "works" or "error".) -- [[User:Eriksiers|Eriksiers]] 22:09, 6 October 2009 (UTC)