Talk:Switch statement

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Computing  
WikiProject icon This article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
 ???  This article has not yet received a rating on the project's quality scale.
 ???  This article has not yet received a rating on the project's importance scale.
 

I don't think 2 is...[edit]

I don't think 2 is a 'perfect square' as the bash code suggests it is. Could somebody maybe fix this? —Preceding unsigned comment added by 207.65.110.71 (talk) 02:04, 5 June 2009 (UTC)

Fixed. Rich Farmbrough, 23:59, 13 December 2009 (UTC).

Visual FoxPro[edit]

Is there a typo in the third case statement in the given example? —Preceding unsigned comment added by 206.174.71.149 (talk) 06:24, 3 January 2010 (UTC)

Simplify the examples? A reader's suggestions (removed from article and placed here)[edit]

Suggestion from 86.186.234.3:

"Note: The following examples make it difficult to evaluate the methods of each language since the examples across languages are not alike. If somebody were to re-write the example so they all achieved the same thing, it would be very helpful. Using the 'switch' construct in a program which displays the verses to "The twelve days of Christmas" makes for a Very good example of how switch can be used."

--- I have no opinion about this, myself... BillWvbailey (talk) 17:44, 3 January 2011 (UTC)

Wrong C program.[edit]

The program in C is technically correct in terms of conditional statements, but I'm sure it's not "puts," it's at least "print". —Preceding unsigned comment added by Clammybells (talkcontribs) 01:07, 21 May 2011 (UTC)

Compilation section example[edit]

The compilation section mentions "The first 'C' example below", but most examples have been removed from the page for whatever reason, so this no longer makes sense. Perhaps the old C example should be added into this section? --Rabbitkillrun (talk) 19:08, 25 May 2013 (UTC)