NYCPHP Meetup

NYPHP.org

[nycphp-talk] loop

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


I didn't no it was possible either, until I needed to use it.   It has been 
invoked, so the camera moves 6 times in 21 minutes and loops forever 
(http://www.aquaeast.com./webcam.php -- not much to see at night).  Now the 
question is how to stop it when running in an embedded system.  Hard reset 
maybe?

Brian

On Thursday 19 December 2002 07:20 pm, FB` wrote:
> It just has an empty starting and ending conditions and an empty step
> action
>
> e.g. for ($i=0;$i<10;$i++) with both conditions and instruction taken
> out...
>
> i didn't even know it was possible.
>
> FB`
>
>
> ----- Original Message -----
> From: "Brian" <brian at preston-campbell.com>
> To: "NYPHP Talk" <talk at nyphp.org>
> Sent: Thursday, December 19, 2002 7:03 PM
> Subject: Re: [nycphp-talk] loop
>
> > 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