andysmith1965
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2019
02:10 AM
Colon meaning
Hi
I've come across some code as follows...
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
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
2 REPLIES 2

Komag
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2019
03:33 AM
Re: Colon meaning
andysmith1965
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2019
01:29 AM
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.