Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
hugetv
Level 7

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
EnTerr
Level 8

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
Level 7

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
Level 7

Re: help close 3 while

what does this mean

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

Re: help close 3 while

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