amnon
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2014
11:07 AM
Updated documention?
Hi.
I am writing an app where I needed to use modulo.
I looked at the documentation and found nothing (I expected to find it here: http://sdkdocs.roku.com/display/sdkdoc/BrightScript+Language+Reference#BrightScriptLanguageReference...).
I decided to just try it in the debugger and surprisingly it worked (
I went back to the forums and searched for "modulo". All I could find is a single forum thread - http://forums.roku.com/viewtopic.php?f=34&t=44621&p=302747&hilit=modulo#p302747.
Seems reasonable to me to expect that a feature that dates back more than 2 years would have been documented by now.
This brings me to the question - is there more updated documentation somewhere? Am I missing anything here?
This is not meant to be a rant, I would really like to hear an official Roku response.
Thanks,
Amnon
I am writing an app where I needed to use modulo.
I looked at the documentation and found nothing (I expected to find it here: http://sdkdocs.roku.com/display/sdkdoc/BrightScript+Language+Reference#BrightScriptLanguageReference...).
I decided to just try it in the debugger and surprisingly it worked (
print 22 mod 20resulted in 2!).
I went back to the forums and searched for "modulo". All I could find is a single forum thread - http://forums.roku.com/viewtopic.php?f=34&t=44621&p=302747&hilit=modulo#p302747.
Seems reasonable to me to expect that a feature that dates back more than 2 years would have been documented by now.
This brings me to the question - is there more updated documentation somewhere? Am I missing anything here?
This is not meant to be a rant, I would really like to hear an official Roku response.
Thanks,
Amnon
4 REPLIES 4

NewManLiving
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2014
11:25 AM
Re: Updated documention?
In bright script it is an operator
a MOD b
a MOD b
My Channels: 2D API Framework Presentation: https://owner.roku.com/add/2M9LCVC
Updated: 11-11-2015 - Completed Keyboard interface
The Joel Channel ( Final Beta )
Updated: 11-11-2015 - Completed Keyboard interface
The Joel Channel ( Final Beta )

RokuMarkn
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2014
11:30 AM
Re: Updated documention?
It's documented in section 3.7.6 of the Brightscript Language Reference.
--Mark
--Mark

TheEndless
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2014
11:32 AM
Re: Updated documention?
http://sdkdocs.roku.com/display/sdkdoc/ ... eOperators
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
amnon
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2014
03:12 PM
Re: Updated documention?
Thanks, I stand corrected, it is documented 🙂