POV-Ray : Newsgroups : povray.general : A couple parser performance issues/optimizations. : Re: A couple parser performance issues/optimizations. Server Time
2 May 2024 22:21:51 EDT (-0400)
  Re: A couple parser performance issues/optimizations.  
From: clipka
Date: 8 Oct 2017 05:50:04
Message: <59d9f4cc$1@news.povray.org>
Am 08.10.2017 um 01:00 schrieb Bald Eagle:

> #version 3.71;
> #declare StartTime = now();
> 
> Gave me a "Need a semicolon" errors.
> Bug Report?

`now` does not act as a function, but rather as a pseudo-variable. Use

    #declare StartTime = now;

and you should be fine.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.