Your Digital Media Has Never Looked So Good

 
andysmith1965
Topic Author
Posts: 12
Joined: Thu Jun 30, 2016 6:57 am
Contact:

Colon meaning

Tue Jun 11, 2019 2:10 am

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
 
User avatar
Komag
Posts: 801
Joined: Fri Aug 22, 2014 3:42 am

Re: Colon meaning

Tue Jun 11, 2019 3:33 am

 
andysmith1965
Topic Author
Posts: 12
Joined: Thu Jun 30, 2016 6:57 am
Contact:

Re: Colon meaning

Wed Jun 12, 2019 1:29 am

Komag wrote:

Thanks, I realised this after a little bit of digging.

Who is online

Users browsing this forum: No registered users and 5 guests