logo       

infinite loop ?: msg#00017

lang.jython.user

Subject: 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


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

News | FAQ | advertise