Developers

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
andysmith1965
Streaming Star

Colon meaning

Hi

I've come across some code as follows...

m.timer.control = "stop" : show()


Can anyone explain the meaning? is it just a conditional, so if m.timer.control is equal to stop, then evoke the function show()?

Thanks

Andy
Tags (1)
0 Kudos
2 REPLIES 2
Komag
Roku Guru

Re: Colon meaning

0 Kudos
andysmith1965
Streaming Star

Re: Colon meaning

"Komag" wrote:
Just a new line:

https://developer.roku.com/docs/references/brightscript/language/statement-summary.md

Thanks, I realised this after a little bit of digging.
Tags (1)
0 Kudos
Community is Being Upgraded!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

We're sorry for this disruption — we’re excited to share what’s next!