joetesta
9 years agoRoku Guru
multi-line statements in debugger?
Hello!
I'm trying to figure out if it is possible to nest an "if" inside a "for" in the debugger?
This works:
Now I want something like this
So far no matter what I've tried I get back
Tried these and more:
&
&
Anyone know how to do this, is it possible?
tyvmia
I'm trying to figure out if it is possible to nest an "if" inside a "for" in the debugger?
This works:
for each i in m.var: print i: end for
Now I want something like this
for each i in m.var
if i = "something"
? i
end if
end for
So far no matter what I've tried I get back
A block (such as FOR/NEXT or IF/ENDIF) was not terminated correctly. (compile error &hb5) in $LIVECOMPILE(256)
Tried these and more:
for each i in m.var : if i = "something" then ? i: end for
&
for each i in m.var : if i = "something" then ? i: end if : end for
&
for each i in m.var : if i = "something" : ? i : end if : end for
Anyone know how to do this, is it possible?
tyvmia