WOLFRAM SYSTEM MODELER

versionBuild

versionBuild

Wolfram Language

In[1]:=
SystemModel["ModelicaReference.Annotations.versionBuild"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

Defines the optional build number of the library.

This is a deprecated annotation. It should no longer be used, since it will be removed in one of the next Modelica releases. Use instead Semantic Versioning which provides a better mechanism for maintaining releases and bug-fixes in a well defined way.

Syntax

annotation"(" versionBuild "=" INTEGER ")"

Description

versionBuild” is the optional build number of the library. When a new version is released “versionBuild” should be omitted or “versionBuild = 1”. There might be bug fixes to the library that do not justify a new library version. Such maintenance changes are called a “build” release of the library. For every new maintenance change, the “versionBuild” number is increased. A “versionBuild” number A that is higher as “versionBuild” number B, is a newer release of the library. There are no conversions between the same versions with different build numbers.

Examples

package Modelica
  annotation(version      = "3.0.1",
             versionDate  = "2008-04-10",
             versionBuild = 4,
             dateModified = "2009-02-15 16:33:14Z",
             revisionId   = "c04e23a0d 2018-08-01 12:00:00 +0200");
  ...
  end Modelica;
Related annotations