Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
squirreltown
Roku Guru

Re: Variable limit

"EnTerr" wrote:
"squirreltown" wrote:
you don't even have to wrap it in Sub Main()/End sub

Wait... WAT?!
How is that going to work, B/S does not allow executable code outside of a function. Did i miss some change in the language?

Don't know how you could, it's meticulously documented, amirite?
Kinetics Screensavers
0 Kudos
TheEndless
Channel Surfer

Re: Variable limit

FWIW, the stats command used to return information like this, which I actually found quite useful sometimes... sorry to see it go...
BrightScript Debugger> stats
Sub Context Data:
calling_args_n: 0
calling_evsp: 0
pc: 149
bytecode(pc): &0h8c, 12
Variables: 14 (max of 255)
ByteCode Image Size: 346
Module Constant Table Sizes:
Integer: 110 (max of 65535)
String: 37 (max of 65535)
Float: 0 (max of 256)
Double: 2 (max of 256)
Function: 22 (max of 65535)
Source Lns: 584
Identifer: 181 (max of 65535)
BrightScript Component High Water not available.
Module Identifier Table Cache Hit/Miss not availble.
Build with BS_ENABLE_STATS
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)
0 Kudos
NewManLiving
Visitor

Re: Variable limit

Because it's limitless now 😄
My Channels: 2D API Framework Presentation: https://owner.roku.com/add/2M9LCVC
Updated: 11-11-2015 - Completed Keyboard interface
The Joel Channel ( Final Beta )
0 Kudos
RokuKC
Roku Employee
Roku Employee

Re: Variable limit

"TheEndless" wrote:
FWIW, the stats command used to return information like this, which I actually found quite useful sometimes... sorry to see it go...


Feature restoration request noted.
0 Kudos
Komag
Roku Guru

Re: Variable limit

I would love that as well, very useful
0 Kudos
EnTerr
Roku Guru

Re: Variable limit

"RokuKC" wrote:
Feature restoration request noted.

Would you also kindly note a request to restore the "da" (dis-asm, view byte code) command?
0 Kudos
RokuKC
Roku Employee
Roku Employee

Re: Variable limit

"EnTerr" wrote:
Would you also kindly note a request to restore the "da" (dis-asm, view byte code) command?


Request noted, but it was decided not to support these commands.
0 Kudos
EnTerr
Roku Guru

Re: Variable limit

"RokuKC" wrote:
Request noted, but it was decided not to support these commands.


Thank you, though!
0 Kudos