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-90GlobalMathFunctions).
I decided to just try it in the debugger and surprisingly it worked (

print 22 mod 20

resulted 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

In bright script it is an operator
a MOD b

It’s documented in section 3.7.6 of the Brightscript Language Reference.

–Mark

http://sdkdocs.roku.com/display/sdkdoc/ … eOperators

Thanks, I stand corrected, it is documented :slightly_smiling_face: