Forum Discussion

Komag's avatar
Komag
Roku Guru
7 years ago

How to skip an iteration in a FOR loop?

FUNCTION testNext() testA = ["apple", 2, "carrot", "dapple", 5, "fapple", "gourd"] testInt = 0 FOR EACH fruit IN testA testInt++ IF TYPE(fruit) = "roString" THEN ? fruit ELSE testA.Next()...