Macro Language Reference > Macros > Window > wvwarn
  
wvwarn
Description
Allows you to set a version warning level so that a warning is displayed if you open a document that was created in a version later than that which you specified.
 
Example 346. Request version specific warnings
To specify the version warning level as 6.05d:
wvwarn 60504
To return PTC ALD to its default setting of 'Show all' versions:
wvwarn 0
Syntax
wvwarn version:n?
wvwarn
[no parameter]
Invoke the Warning Preferences dialog box.
version
The version level: to set the version warning level, multiply the version number by 1000 (e.g. version 6.01=6010), then convert the version letter into a number (e.g. a=1, b=2 etc).
Additional Information
To turn off all version warnings, set the version to the one you are currently using. This could be automated via a script using the current version getvars: in this case the preference will not need to be reset on upgrade to a later version.