joetesta
13 years agoRoku Guru
help debugging Invalid value for left-side of expression
Hello,
I'm trying to set up custom search history as described by RokuJoel here: viewtopic.php?f=34&t=49729&p=339297&hilit=roSearchHistory#p339297
However after the history is set, I'm seeing an error and my app is crashing:
Apparently the roku doesn't like that I'm trying to set m.titlehistorylist with an index (even when j = 0), but I'm not sure why or what's different that prevented this problem in the example. As a workaround, I'm using
Can anyone give me a clue what's going wrong, why does the example work (or does it?) but this doesn't?
tyvmia
I'm trying to set up custom search history as described by RokuJoel here: viewtopic.php?f=34&t=49729&p=339297&hilit=roSearchHistory#p339297
However after the history is set, I'm seeing an error and my app is crashing:
Invalid value for left-side of expression. (runtime error &he4) in ...g:/source/appSearchScreen.brs(337)
337: m.titlehistorylist[j]=histemp[i]
Apparently the roku doesn't like that I'm trying to set m.titlehistorylist with an index (even when j = 0), but I'm not sure why or what's different that prevented this problem in the example. As a workaround, I'm using
m.titlehistorylist=histempbut I presume this is reversing the desired order...
Can anyone give me a clue what's going wrong, why does the example work (or does it?) but this doesn't?
tyvmia