
hugetv
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2015
09:24 AM
this code help
this code error
else if msg.GetIndex() = 2 then
screen.Close()
return msg.isRemoteKeyPressed("keyBACK")
endif
Our system http://www.rokumanager.com
3 REPLIES 3

Komag
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2015
09:31 AM
Re: this code help
Do you have a final "endif" in place? The "endif" I see is only for the "if" I can see.


Roku Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2015
09:39 AM
Re: this code help
"hugetv" wrote:
this code errorelse if msg.GetIndex() = 2 then
screen.Close()
return msg.isRemoteKeyPressed("keyBACK")
endif
msg.isRemoteKeyPressed() doesn't take any parameters.
http://sdkdocs.roku.com/display/sdkdoc/Event+Loops

hugetv
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2015
01:24 PM
Re: this code help
I'm trying to implement safety pin to enter a category
Our system http://www.rokumanager.com