Re: what does two semicolns ';;' do
- From: jimp@xxxxxxxxxxxxxxxxxxxx
- Date: Sat, 28 Jun 2008 19:05:03 GMT
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.
.
- Follow-Ups:
- Re: what does two semicolns ';;' do
- From: Tim Roberts
- Re: what does two semicolns ';;' do
- From: Thomas Mlynarczyk
- Re: what does two semicolns ';;' do
- References:
- what does two semicolns ';;' do
- From: larry
- what does two semicolns ';;' do
- Prev by Date: Re: what does two semicolns ';;' do
- Next by Date: Re: php4 attempting to find php5ts.dll
- Previous by thread: Re: what does two semicolns ';;' do
- Next by thread: Re: what does two semicolns ';;' do
- Index(es):
Relevant Pages
|