TickDuration = Divide by Zero

Vladimir Panteleev vladimir at thecybershadow.net
Mon Oct 3 09:14:44 PDT 2011


On Mon, 03 Oct 2011 19:09:31 +0300, Chris Williams  
<yoreanon-chrisw at yahoo.co.jp> wrote:

> I presume that TickDuration is trying to access something that it
> doesn't have access to yet, during startup.

http://d.puremagic.com/issues/show_bug.cgi?id=6631

> Is there another way to make my constant a constant?

How about using something with a resolution known at compilation time  
(e.g. a Duration)?

-- 
Best regards,
  Vladimir                            mailto:vladimir at thecybershadow.net


More information about the Digitalmars-d-learn mailing list