cTicksPerDay: optimised compilation error with timer

LineCutter

Active Member
Licensed User
Longtime User
I have no problem compiling without optimisation, but can't see a way to change the setting on the external compiler. It seems that 24*cTicksPerHour does the same thing too.
The problem seems linked to the use with a timer, although I can't see an explicit limit on the number of ms to a tick. (Just putting cTicksPerDay in a program works fine)
 

Attachments

  • Error.jpg
    8.1 KB · Views: 232

LineCutter

Active Member
Licensed User
Longtime User
Gets or sets the interval time (in milliseconds) between Timer ticks.
Syntax:Interval
Example: Timer1.Interval = 1000 ' Timer will tick every second
I want the timer to tick once per day... ah, hang on, elsewhere in the help: "Each tick is 1/10,000,000 of a second".

I'd got my ticks confused with my ticks:sign0161:
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…