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: 
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
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.
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.