Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

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
Komag
Level 9

Re: Colon meaning

0 Kudos

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