NYCPHP Meetup

NYPHP.org

[nycphp-talk] loop

Brian brian at preston-campbell.com
Thu Dec 19 19:11:36 EST 2002


Never mind, I get it. Not passing any expressions to for() causes it to loop 
infinitely. 

Brian

On Thursday 19 December 2002 05:53 pm, Oktay Altunergil wrote:
> It's an infinite loop.. you could write it with while too.. .. are you
> asking something else?
>
> oktay
>
> On Thu, 19 Dec 2002 16:27:15 -0500
>
> Brian <brian at preston-campbell.com> wrote:
> > I am currently using a script to move a webcam at certain time intervals.
> >  The script never times out and uses the following to run indefinitely:
> >
> > for (;;) {
> > [camera instuctions]
> > }
> >
> > Anyone know the principal behind this snippet and why it works?  I have
> > not been able to find any information on the subject.
> >
> > Brian
>
> --- Unsubscribe at http://nyphp.org/list/ ---





More information about the talk mailing list