KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Questions tagged
while-loop
42 questions
Follow Tag
Sort by:
Newest
Votes
Active
309
votes
9
answers
A variable modified inside a while loop is not remembered
bash
while-loop
scope
sh
asked 2013-05-31T09:38:24.693
9
votes
6
answers
Exit while loop in Python
python
loops
while-loop
asked 2013-05-20T18:50:12.700
79
votes
3
answers
Bash scripting, multiple conditions in while loop
bash
shell
loops
while-loop
asked 2013-03-20T20:59:11.107
40
votes
3
answers
What is the most efficient loop in c#
c#
loops
for-loop
foreach
while-loop
asked 2013-03-06T12:22:21.160
45
votes
5
answers
How to break out of while loop in Python?
python
while-loop
break
asked 2013-01-30T00:13:08.453
350
votes
15
answers
How do I plot in real-time in a while loop?
python
matplotlib
while-loop
real-time
asked 2012-08-08T23:36:04.497
46
votes
6
answers
return in for loop or outside loop
java
for-loop
while-loop
asked 2012-05-29T13:31:14.727
9
votes
2
answers
when to use and how to write loop and a half code
java
loops
while-loop
break
asked 2012-05-26T16:21:36.210
52
votes
5
answers
Java - Does returning a value break a loop?
java
while-loop
boolean
return
singly-linked-list
asked 2012-05-18T23:46:30.710
284
votes
20
answers
Declaring variables inside or outside of a loop
java
optimization
while-loop
asked 2012-01-10T13:01:15.730
13
votes
14
answers
Finding factors of a given integer
java
for-loop
integer
while-loop
factors
asked 2011-12-27T16:49:11.060
45
votes
5
answers
Assignment Condition in Python While Loop
python
loops
while-loop
conditional-statements
asked 2011-10-15T22:12:39.833
9
votes
1
answers
SQL Server: Endless WHILE EXISTS loop
sql
sql-server
t-sql
loops
while-loop
asked 2011-10-03T07:54:47.257
59
votes
3
answers
How do you detect when a sound file has finished?
android
while-loop
asked 2011-09-09T22:13:03.710
12
votes
6
answers
Perform PHP loops until end of array OR reaches certain number of iterations?
php
loops
for-loop
foreach
while-loop
asked 2011-09-01T17:54:33.693
10
votes
6
answers
Shell script while read loop executes only once
shell
loops
for-loop
while-loop
asked 2011-04-05T08:52:55.197
9
votes
4
answers
How to Initialize an Associative Array in a While Loop?
php
arrays
while-loop
associative-array
asked 2011-03-10T18:48:35.733
48
votes
8
answers
Iterating over the content of a text file line by line - is there a best practice? (vs. PMD's AssignmentInOperand)
java
while-loop
pmd
asked 2011-01-13T06:27:04.327
30
votes
7
answers
Create a pause inside a while loop in Javascript
javascript
while-loop
dom-events
asked 2010-12-28T17:41:36.510
142
votes
5
answers
Do while loop in SQL Server 2008
sql-server
sql-server-2008
loops
while-loop
do-while
asked 2010-12-20T07:03:20.817
10
votes
5
answers
Building a multidimensional array in vb.net
vb.net
multidimensional-array
while-loop
asked 2010-11-23T10:58:47.490
28
votes
16
answers
Is the code "while(condition);" valid and what does it mean?
c
while-loop
asked 2010-11-08T15:16:25.793
15
votes
3
answers
What's the most defensive way to loop through lines in a file with Perl?
perl
while-loop
defensive-programming
asked 2010-09-22T21:54:53.943
428
votes
13
answers
Else clause on Python while statement
python
syntax
while-loop
if-statement
asked 2010-07-21T02:49:05.393
24
votes
4
answers
How to get out of a try/except inside a while? [Python]
python
while-loop
asked 2010-07-07T21:38:46.903
16
votes
9
answers
Why use a "do while" loop?
language-agnostic
while-loop
do-while
asked 2010-06-09T06:14:13.883
33
votes
4
answers
input of while loop to come from output of `command`
shell
loops
while-loop
asked 2010-06-06T05:32:46.237
51
votes
6
answers
What is an off-by-one error and how do I fix it?
while-loop
language-agnostic
asked 2010-05-30T18:49:06.200
14
votes
2
answers
Using a Loop to add objects to a list(python)
python
list
object
loops
while-loop
asked 2010-04-18T18:30:33.923
10
votes
3
answers
FPDF Page Break Question
pdf
while-loop
fpdf
page-break
asked 2010-03-12T01:53:52.190
37
votes
8
answers
When implementing an infinite loop, is there a difference in using while(1) vs for(;;) vs goto (in C)?
c
loops
for-loop
goto
while-loop
asked 2010-02-18T13:24:55.147
28
votes
11
answers
What's the difference between "while 1" and "while True"?
python
while-loop
infinite-loop
asked 2010-02-14T17:28:42.110
75
votes
15
answers
Break out of a while loop that contains a switch statement
c#
while-loop
break
asked 2009-12-31T22:50:19.677
68
votes
5
answers
While loop in batch
windows
batch-file
for-loop
while-loop
asked 2009-11-24T07:39:12.100
10
votes
4
answers
C# non-blocking socket without while(true) loop
c#
sockets
while-loop
nonblocking
asked 2009-11-03T07:42:20.580
33
votes
1
answers
How to implement a do-while loop in tsql
sql
sql-server
t-sql
while-loop
control-flow
asked 2009-10-03T03:43:25.027
21
votes
15
answers
Is there any performance difference between for() and while()?
c++
c
performance
for-loop
while-loop
asked 2009-05-11T12:29:01.263
62
votes
4
answers
How do you loop through a multiline string in Ruby?
ruby
string
while-loop
loops
asked 2009-03-02T10:31:26.103
33
votes
18
answers
Which is better practice - for loop with break or conditional loop?
loops
for-loop
while-loop
language-agnostic
asked 2009-02-27T17:03:59.383
10
votes
6
answers
Invalid token 'while' in class, struct, or interface member declaration in very simple code
c#
loops
while-loop
asked 2008-12-29T02:38:20.103
14
votes
13
answers
Java while loop and Threads!
java
multithreading
while-loop
asked 2008-12-23T22:26:50.040
83
votes
7
answers
How to write a while loop with the C preprocessor?
c
while-loop
c-preprocessor
asked 2008-11-26T00:05:29.620