Replies

willd7781
19 Nov 2018, 17:53

RE:

Panagiotis Charalampous said:

Hi William,

There is an example here on how to use a Timer in cAlgo. Let me know if you need any clarifications.

Best Regards,

Panagiotis

Hi that helped but im still having prolems.

 

ive got to here....

protected override void OnStart()

        }
            Timer.Start(1);

        }

 protected override void OnTimer()
        {
            
            if (Time.Equals("23:00:00"))
            {
                Print("yay it worked")
            }
        }

I thought that this code would print the message at the time 23:00:00  but it didnt work.

 

An thoughts

 

Thank your help.

 

WIlliam 


@willd7781

willd7781
01 Oct 2018, 14:59

PLEASE IGNOR THIS QUESTION, I WAS BEING AN IDIOT

 


@willd7781