Re: what does two semicolns ';;' do
- From: Jerry Stuckle <jstucklex@xxxxxxxxxxxxx>
- Date: Sat, 28 Jun 2008 14:59:04 -0400
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?
I've tried to google it but the text filter seems to remove the
semicolons.
Look up a for loop in the PHP doc. Three expressions, separated by semicolons. In this case, the expressions are null (which is also valid).
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.
- Follow-Ups:
- Re: what does two semicolns ';;' do
- From: larry
- Re: what does two semicolns ';;' do
- References:
- what does two semicolns ';;' do
- From: larry
- what does two semicolns ';;' do
- Prev by Date: Re: php4 attempting to find php5ts.dll
- Next by Date: Re: what does two semicolns ';;' do
- Previous by thread: what does two semicolns ';;' do
- Next by thread: Re: what does two semicolns ';;' do
- Index(es):
Relevant Pages
|