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
|