NYCPHP Meetup

NYPHP.org

[nycphp-talk] loop

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


Sure it's an infinite loop, that is exactly what I am using it for.  I found 
it in use in another script and put it in use.  I'm more interested in the 
nuts and bolts.  What is the significance of the ;; operator, if it is in 
fact an operator?  There is nothing that I could find in the docs.

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