Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
hugetv
Visitor

help close 3 while

I want to see if I can help to make 3 return
Our system http://www.rokumanager.com
0 Kudos
4 REPLIES 4
EnTerr
Roku Guru

Re: help close 3 while

You want to exit multiple nested loops? Use GOTO:

while true
for i = 1 to 1e9
for each caveman in cavemen
if is_some_condition(...) then goto EXIT_3_LOOPS
end for
next
end while
EXIT_3_LOOPS:

0 Kudos
hugetv
Visitor

Re: help close 3 while

"EnTerr" wrote:
You want to exit multiple nested loops? Use GOTO:

while true
for i = 1 to 1e9
for each caveman in cavemen
if is_some_condition(...) then goto EXIT_3_LOOPS
end for
next
end while
EXIT_3_LOOPS:



do not really understand
Our system http://www.rokumanager.com
0 Kudos
hugetv
Visitor

Re: help close 3 while

what does this mean

Unexpected event type:  11
Our system http://www.rokumanager.com
0 Kudos
hugetv
Visitor

Re: help close 3 while

a way to know how much while open
Our system http://www.rokumanager.com
0 Kudos