Re: what does two semicolns ';;' do



On Jun 28, 1:43 pm, la...@xxxxxxxxxxxxxxxxx wrote:
I am looking at some code which process an uploaded file and it has
loops like:

for(;;){     // for([two semicolons){

what is the function of the two semicolons?  loop until break?

I've tried to google it but the text filter seems to remove the
semicolons.

yes, that's an infinite loop
.



Relevant Pages

  • Re: role of semicolon
    ... > In addition to terminating statements and declarations, semicolons are ... I can't believe I forgot about 'for' loops. ...
    (comp.lang.c)
  • what does two semicolns ;; do
    ... I am looking at some code which process an uploaded file and it has ... loops like: ... what is the function of the two semicolons? ... I've tried to google it but the text filter seems to remove the ...
    (comp.lang.php)
  • Re: where to start
    ... loops, functions, classes, inheritance, etc. is there any e-book, ... Google for Eiffel tutorial gives ...
    (comp.lang.eiffel)
  • Re: where to start
    ... loops, functions, classes, inheritance, etc. is there any e-book, ... Google for Eiffel tutorial gives ...
    (comp.lang.eiffel)
  • Printing simple shapes on screen
    ... be down to Google Groups). ... Referring to my FOR loops, is there any way in which the columns may ... cin>> height; ...
    (comp.lang.c)