Re: what does two semicolns ';;' do



larry@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?

Yeah, same as while (1) {.

AIR for(;;) is slightly more efficient/faster than while(1).


--
Jim Pennino

Remove .spam.sux to reply.
.



Relevant Pages

  • Re: what does two semicolns ;; do
    ... Yeah, ... AIR foris slightly more efficient/faster than while. ... Both statements translate to exactly one assembly ...
    (comp.lang.php)
  • Re: what does two semicolns ;; do
    ... loops like: ... Yeah, ... AIR foris slightly more efficient/faster than while. ...
    (comp.lang.php)
  • Re: My G5 & Leopard
    ... Yeah, all those reports that are out there are just so much hot air. ... Common sense meaning "I am experienced with windows and can do this ... Almost where Mac has been for years, ...
    (comp.sys.mac.advocacy)
  • Re: My G5 & Leopard
    ... >>> Yeah, all those reports that are out there are just so much hot air. ... > Common sense meaning "I am experienced with windows and can do this ... Almost where Mac has been for years, ...
    (comp.sys.mac.advocacy)
  • Re: Ibiquitys "Gag Order" on engineers
    ... Yeah, yeah, yeah... ... 12 on the air, and permits for nearly a dozen more. ... HCRM1 and now an announcer on various Spanish stations in Atlanta, ... but you would expect someone to be such a fool as to own a license directly, ...
    (rec.radio.shortwave)