"gonzotek" wrote:
Also the next section, Eval(), if you only need a short code snippet.
Be aware that any script you Eval() should be less than 32k (I think it was increased to ~48k in 3.x). Anything larger, and you're likely to hard crash the box. I created a "Reboot" channel awhile back that took advantage of this little gem..
😛"RokuJoel" wrote:
Not really, it is just helpful for keeping track of what is where for sanity. Best not to go overboard with lots of small files as they frequently won't compress as well as a few medium sized .brs files. The interpreter does not care either way as far as I know, as long as you don't have the same function or sub name used twice within a project.
- Joel
Furthermore, you can have multiple subfolders as well under the source folder. All *.brs files under the source folder get combined into one giant BrightScript, regardless of location in the tree.
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)