POV-Ray : Newsgroups : povray.binaries.images : problem with beta-five : Re: problem with beta-five Server Time
7 Nov 2024 02:27:12 EST (-0500)
  Re: problem with beta-five  
From: clipka
Date: 29 Mar 2017 12:39:23
Message: <58dbe33b$1@news.povray.org>
Am 29.03.2017 um 05:17 schrieb Mike Horvath:
> On 3/28/2017 11:09 PM, Mike Horvath wrote:
>> The lack of a second dot in `#version 3.70` is kind of confusing.
> 
> Whoever decided to use a float to store the version number had the wrong
> idea, IMO.

I hear you.

It does have its benefits though: It allows for constructs like

    #declare temp_version = version;
    #version 3.5;
    ...
    #version temp_version;

or

    #if (version >= 3.71)
    ...
    #end

without having to add special language constructs to the parser for
assigning and comparing version numbers.


Post a reply to this message

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