KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Questions tagged
switch-statement
86 questions · page 1 of 2
Follow Tag
Sort by:
Newest
Votes
Active
15
votes
6
answers
Using an array through a switch() statement in Javascript
javascript
arrays
switch-statement
asked 2013-07-23T18:26:34.113
10
votes
4
answers
enum case handling - better to use a switch or a dictionary?
c#
dictionary
enums
switch-statement
asked 2013-07-12T00:09:10.557
10
votes
1
answers
Can procs be used with case statements in Ruby 2.0?
ruby
switch-statement
ruby-2.0
asked 2013-05-21T04:45:05.843
15
votes
4
answers
How do I do a switch case for jQuery?
jquery
if-statement
switch-statement
asked 2013-04-22T05:23:46.347
11
votes
3
answers
Custom structure/type that can be used with switch()
c#
switch-statement
value-type
object-model
asked 2013-03-18T23:00:31.077
16
votes
3
answers
What's compiler thinking about the switch-statement?
c#
switch-statement
unreachable-code
asked 2013-03-07T20:32:44.550
13
votes
3
answers
Example of Switch Statements
c#
visual-studio-2012
switch-statement
asked 2013-02-23T22:37:31.217
12
votes
4
answers
Switch seems slower than if
java
performance
if-statement
switch-statement
asked 2012-12-30T06:32:53.880
30
votes
4
answers
How Switch case Statement Implemented or works internally?
c++
c
gcc
if-statement
switch-statement
asked 2012-12-28T09:45:52.023
9
votes
5
answers
Conditional initialization in switch
c++
initialization
switch-statement
asked 2012-11-16T11:32:53.433
15
votes
3
answers
in switch case if we write "default" as any word or single letter it does not throw an error
c#
switch-statement
asked 2012-11-15T05:44:52.947
1235
votes
26
answers
Switch statement for multiple cases in JavaScript
javascript
switch-statement
asked 2012-11-03T09:43:09.950
13
votes
4
answers
Avoid Switch statement redundancy when multiple Cases do the same thing?
java
syntax
switch-statement
asked 2012-10-19T00:30:04.380
10
votes
4
answers
Switch() { case: } performance in C
c
performance
switch-statement
asked 2012-09-21T12:55:28.937
14
votes
4
answers
Switch statement with huge number of cases
c++
c
switch-statement
asked 2012-09-12T07:15:42.587
55
votes
7
answers
Should I ever use continue inside a switch statement?
php
c++
language-agnostic
switch-statement
asked 2012-09-10T10:30:22.537
986
votes
2
answers
What is the Python equivalent for a case/switch statement?
python
switch-statement
match
case
asked 2012-07-14T00:01:59.410
11
votes
1
answers
How can I split very long case patterns across multiple lines?
string
bash
split
switch-statement
asked 2012-06-04T16:16:35.823
19
votes
5
answers
R idiom for switch/case
r
switch-statement
asked 2012-05-07T18:57:34.850
110
votes
4
answers
How to use the switch statement in R functions?
r
switch-statement
asked 2012-05-01T04:19:58.027
24
votes
3
answers
Using string representations of enum values in switch-case
java
enums
switch-statement
case
tostring
asked 2012-04-30T16:43:43.023
64
votes
13
answers
Use string in switch case in java
java
string
switch-statement
asked 2012-04-20T05:02:17.447
56
votes
4
answers
What is the purpose of the extra braces in Switch case?
c#
switch-statement
asked 2012-04-10T19:39:08.820
23
votes
0
answers
How to disable the "Chromium didn't shut down correctly" message? Chromium 17, Ubuntu 10.04
ubuntu
switch-statement
shutdown
chromium
kiosk
asked 2012-03-20T18:19:47.577
14
votes
4
answers
Using a class object in case statement
ruby
class
switch-statement
asked 2012-03-02T17:43:24.180
13
votes
3
answers
How to make gcc/clang warn about missing breaks in switch statements
gcc
coding-style
switch-statement
clang
gcc-warning
asked 2012-01-10T19:17:11.740
12
votes
1
answers
Android - switch to activity without restarting it
android
android-activity
switch-statement
asked 2011-12-31T12:33:13.560
42
votes
7
answers
Switch without break
java
switch-statement
findbugs
asked 2011-12-19T16:02:45.513
17
votes
4
answers
Changing switch variable inside a case
c++
switch-statement
asked 2011-11-30T22:13:18.303
131
votes
8
answers
Java using enum with switch statement
java
enums
switch-statement
asked 2011-11-13T01:46:09.770
8
votes
5
answers
Switch with Object Instances
c#
object
properties
switch-statement
asked 2011-10-31T17:33:26.753
28
votes
9
answers
Jumping from one case to the default case in switch statement
c
switch-statement
break
asked 2011-09-20T11:52:55.163
18
votes
2
answers
C++/C++11 - Switch statement for variadic templates?
templates
metaprogramming
switch-statement
c++11
variadic
asked 2011-09-11T22:46:06.567
99
votes
12
answers
Use string.Contains() with switch()
c#
string
if-statement
switch-statement
contains
asked 2011-08-24T12:42:00.853
15
votes
3
answers
Console.ReadKey(); and Switch statement - using letters
c#
switch-statement
asked 2011-08-08T23:04:33.837
13
votes
6
answers
How do I use a char as the case in a switch-case?
java
switch-statement
character
asked 2011-08-02T00:23:06.983
14
votes
2
answers
Why can I not use my constant in the switch - case statement in Objective-C ? [error = Expression is not an integer constant expression]
objective-c
tags
constants
case
switch-statement
asked 2011-07-05T15:36:10.660
10
votes
3
answers
Java 7 switch statement with strings not working
java
eclipse
string
switch-statement
java-7
asked 2011-06-03T19:44:11.920
22
votes
4
answers
ruby - using include method in a case statement
ruby-on-rails
ruby
switch-statement
case
asked 2011-05-22T00:03:22.560
19
votes
6
answers
Performance of array of functions over if and switch statements
c
optimization
callback
if-statement
switch-statement
asked 2011-04-07T13:54:58.730
227
votes
5
answers
Switch case with fallthrough?
bash
switch-statement
asked 2011-04-06T06:25:56.830
40
votes
14
answers
switch/case statement in C++ with a QString type
c++
qt
switch-statement
qt4
qstring
asked 2011-03-27T20:29:30.213
11
votes
3
answers
how to set a switch statement in while loop in java
java
switch-statement
asked 2011-02-28T10:55:41.523
159
votes
16
answers
Java switch statement multiple cases
java
syntax
switch-statement
asked 2011-02-23T02:17:22.850
11
votes
8
answers
PHP vs. JavaScript switch indentation
php
javascript
switch-statement
conventions
asked 2011-01-21T16:36:50.077
63
votes
7
answers
Use a 'goto' in a switch?
c#
coding-style
switch-statement
goto
asked 2011-01-21T06:37:41.993
270
votes
5
answers
C# switch on type
c#
switch-statement
typeof
asked 2010-12-18T14:32:33.797
32
votes
7
answers
In C# is default case necessary on a switch on an enum?
c#
.net
enums
switch-statement
asked 2010-12-17T16:45:14.237
13
votes
6
answers
Possible to have switch(java.lang.Object) in java?
java
object
switch-statement
if-statement
asked 2010-12-04T17:02:23.733
118
votes
15
answers
How can I compare strings in C using a `switch` statement?
c
string
switch-statement
string-comparison
asked 2010-10-25T13:10:09.583
page 1 of 2
Next →