Previous:Library Paths Main Index Next:Shell-out to Operating System

#### Language Version

`Version=`n.n | Set initial language compatibility to version n.n
`+MV` n.n | Same as `Version=`n.n

As POV-Ray as evolved from version 1.0 through 3.1 we have made every effort to maintain some amount of backwards compatibility with earlier versions. Some old or obsolete features can be handled directly without any special consideration by the user. Some old or obsolete features can no longer be handled at all. However some old features can still be used if you warn POV-Ray that this is an older scene. In the POV-Ray scene language you can use the `#version` directive to switch version compatibility to different setting. See section "The #version Directive" for more details about the language version directive. Additionally you may use the `Version=`n.n option or the `+MV` n.n switch to establish the initial setting. For example one feature introduced in 2.0 that was incompatible with any 1.0 scene files is the parsing of float expressions. Setting `Version=1.0` or using `+MV1.0` turns off expression parsing as well as many warning messages so that nearly all 1.0 files will still work. Naturally the default setting for this option is `Version=3.1`.

NOTE: Some obsolete or re-designed features are totally unavailable in POV-Ray 3.1 REGARDLES OF THE VERSION SETTING. Details on these features are noted throughout this documentation.

Previous:Library Paths Main Index Next:Shell-out to Operating System