Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
RokuJoel
Roku Employee
Roku Employee

Re: Will This Work ???

Try putting print statements (either the word print or a question mark followed by the variable name)after each variable assignment so you can see what the values are.

for example:

funds = tokenValidation()
? funds


If funds is never equal to 1 then it will never exit while.

You also should have a return -1 (need to return something) after the end while. My guess is funds never = 1 here.

- Joel
0 Kudos