<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.ice-online.com/index.php?action=history&amp;feed=atom&amp;title=VERSION</id>
	<title>VERSION - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ice-online.com/index.php?action=history&amp;feed=atom&amp;title=VERSION"/>
	<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=VERSION&amp;action=history"/>
	<updated>2026-06-10T18:21:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.ice-online.com/index.php?title=VERSION&amp;diff=708&amp;oldid=prev</id>
		<title>ConvertBot: displays current version of Midas or a Midas option tree</title>
		<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=VERSION&amp;diff=708&amp;oldid=prev"/>
		<updated>2020-04-27T22:04:33Z</updated>

		<summary type="html">&lt;p&gt;displays current version of Midas or a Midas option tree&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;displays current version of Midas or a Midas option tree&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;option&amp;gt;  option tree [DEF=&amp;quot;ALL&amp;quot;]&lt;br /&gt;
&lt;br /&gt;
This macro simply displays the first line of the version.txt file found in&lt;br /&gt;
the root directory of the option tree specified.  This line lists the current&lt;br /&gt;
version of the software under that option tree.&lt;br /&gt;
&lt;br /&gt;
VERSION does NOT let you switch between different versions of Midas or option&lt;br /&gt;
trees.&lt;br /&gt;
&lt;br /&gt;
If option is &amp;quot;ALL&amp;quot; then the version information for all option trees in the&lt;br /&gt;
path will be listed. Do not confuse this with the switch &amp;quot;/ALL&amp;quot; which displays&lt;br /&gt;
the entire version.txt file.&lt;br /&gt;
&lt;br /&gt;
If no version.txt file is found, an informational message is displayed saying&lt;br /&gt;
no version information was provided.  It is the responsibility of the person&lt;br /&gt;
developing the option tree to update this file.  This file may also contain&lt;br /&gt;
additional information about known bugs, recent modifications, or fixes since&lt;br /&gt;
the last version.  To view the file in its entirety assert the /ALL&lt;br /&gt;
switch.&lt;br /&gt;
&lt;br /&gt;
The version.txt file is simply a plain text file with the version information&lt;br /&gt;
listed on the first line of the file. The version string should follow&lt;br /&gt;
&amp;quot;Version: &amp;quot; or &amp;quot;Version &amp;quot; with this format:&lt;br /&gt;
  &amp;lt;major_version&amp;gt;.&amp;lt;minor_version&amp;gt;.&amp;lt;update_version&amp;gt;[('.'|'-'|'_')qualifier]&lt;br /&gt;
    * the major/minor/(update|micro) version must be digits (integer numbers)&lt;br /&gt;
    * the minor version and update version are optional (but highly recommended)&lt;br /&gt;
    * the qualifier can be any alphanumeric, '-' (dash), or '_' (underscore).&lt;br /&gt;
    Some valid examples are: 1.0, 2.0.1, 3.2.0.b11, 3.6.1-02, 4.0.2_rc1&lt;br /&gt;
Lines that begin with a '#' are ignored when displaying the file.&lt;br /&gt;
To embed NeXtMidas version compatibility information (used when /CHECK is&lt;br /&gt;
specified) put &amp;quot;#VCOMP:x.y.z&amp;quot; on a line in the file, where &amp;quot;x.y.z&amp;quot; is the&lt;br /&gt;
version (e.g. 2.1.0) of NeXtMidas which the option tree is compatible with.&lt;br /&gt;
If the option tree is compatible with all sub versions of a major NeXtMidas&lt;br /&gt;
version, then specify it with an &amp;quot;X&amp;quot; (such as &amp;quot;2.1.X&amp;quot;). Multiple &amp;quot;#VCOMP:&amp;quot;&lt;br /&gt;
lines can be listed. (Versions of NeXtMidas prior to 2.1.0 used the old&lt;br /&gt;
version identifier, e.g. &amp;quot;19X&amp;quot;.) Since NeXtMidas 2.1.1 it is possible to mark&lt;br /&gt;
an option tree as being compatible with a given version of NeXtMidas and all&lt;br /&gt;
later versions by using &amp;quot;2.1.1+&amp;quot; to mean that version &amp;quot;2.1.1&amp;quot; or later is&lt;br /&gt;
required (note that the '+' syntax may cause an error on older versions of&lt;br /&gt;
NeXtMidas). Since NeXtMidas 3.3.0, a finer level of option tree dependency&lt;br /&gt;
(including SYS) with version constraints can be specified with &amp;quot;#REQUIREDOPT:&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
To specify the option tree(s) that an option requires in the version.txt,&lt;br /&gt;
use &amp;quot;#REQUIREDOPT:&amp;quot; at the beginning of a line (one per required option tree).&lt;br /&gt;
It should be followed by the &amp;lt;required_option_tree_name&amp;gt; and optionally&lt;br /&gt;
a semi-colon separated list of constraints (key=value). (Since NeXtMidas 3.3.0)&lt;br /&gt;
&lt;br /&gt;
  Format is &amp;quot;#REQUIREDOPT:&amp;quot; &amp;lt;option_tree_name&amp;gt;[; constraint]*&lt;br /&gt;
&lt;br /&gt;
  Where constraint is a key=value pair of the constraint name/value.&lt;br /&gt;
  The following constraints are currently defined:&lt;br /&gt;
    VERSION:&lt;br /&gt;
      &amp;quot;version&amp;quot;=(min_version | version_range)&lt;br /&gt;
      min_version   := version&lt;br /&gt;
      max_version   := version&lt;br /&gt;
      version       := major_ver('.'minor_ver('.'update_ver('.'qualifier)?)?)?&lt;br /&gt;
      version_range := ('[' | '(') min_version ',' max_version (']' | ')')&lt;br /&gt;
        use a &amp;quot;[&amp;quot; and &amp;quot;]&amp;quot; for inclusive and &amp;quot;(&amp;quot; and &amp;quot;)&amp;quot; for exclusive.&lt;br /&gt;
&lt;br /&gt;
  Some examples:&lt;br /&gt;
    #REQUIREDOPT: SYS; version=3.3.0    ! requires SYS version 3.2.0 and later&lt;br /&gt;
    #REQUIREDOPT: DSP                   ! requires DSP any version&lt;br /&gt;
&lt;br /&gt;
    #! to require MYOPT version 1.0.0 up to be not including 2.0.0&lt;br /&gt;
    #REQUIREDOPT: MYOPT; version=[1.0,2.0)&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
  1. Display brief version info (first line of version.txt) for all option trees&lt;br /&gt;
     in the PATH:&lt;br /&gt;
     nM&amp;gt; version&lt;br /&gt;
&lt;br /&gt;
  2. Display full version.txt for SYS option tree:&lt;br /&gt;
     nM&amp;gt; version/all SYS&lt;br /&gt;
&lt;br /&gt;
Switches:&lt;br /&gt;
  /ALL          - Display the entire version.txt file&lt;br /&gt;
  /CHECK        - Checks the option tree for compatibility with the&lt;br /&gt;
                  current NeXtMidas version (since NeXtMidas 1.9.2)&lt;br /&gt;
  /OPTINFO      - Display option tree information parsed from version.txt&lt;br /&gt;
                  such as version and required option trees. (since 3.3.0)&lt;br /&gt;
                  See OPTION/INFO=&amp;lt;resname&amp;gt; to save to results table.&lt;br /&gt;
&lt;br /&gt;
See Also: OPTION&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:NXM_Explain]]&lt;/div&gt;</summary>
		<author><name>ConvertBot</name></author>
		
	</entry>
</feed>