logo       

Re: infinite loop ?: msg#00020

lang.jython.user

Subject: Re: infinite loop ?

be careful with the indentations
while 1:
msg = storeProcedureCaller.dequeueChangeDocCreationMsg()
print "ID : " , msg.getId()


==========================================================
Carlos García Phone : +34 91 714 8796
Lucent Technologies e-mail : cgarciaf@xxxxxxxxxx
Avenida de Bruselas , 8 - 28108 Alcobendas (Madrid)
==========================================================
----- Original Message -----
From: "Jean Guillaume LALANNE" <ho.jglalanne@xxxxxxxxxxxxxxxx>
To: <jython-users@xxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, May 11, 2005 6:41 PM
Subject: [Jython-users] infinite loop ?


> Hi,
>
> I am trying to do an infinite loop in my jython code but it does not seem
to
> work.
> ___________________________________________________________________
> while True:
> msg = storeProcedureCaller.dequeueChangeDocCreationMsg()
> print "ID : " , msg.getId()
> ___________________________________________________________________
>
> returns me always :
> ______
> "True"
> ______
>
> And stop running...??????
> I don't understand.
>
> Thanks a lot for your help.
>
> Best Regards
>
> Jean-Guillaume
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
> _______________________________________________
> Jython-users mailing list
> Jython-users@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/jython-users
>



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_ids93&alloc_id281&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise